Select Git revision
fw_env.c
-
Andreas Fenkart authored
Try to avoid adhoc iteration of the environment. Reuse fw_getenv to find the variables that should be printed. Only use open-coded iteration when printing all variables. For backwards compatibility, keep emitting a newline when printing with value_only. Signed-off-by:
Andreas Fenkart <andreas.fenkart@digitalstrom.com>
Andreas Fenkart authoredTry to avoid adhoc iteration of the environment. Reuse fw_getenv to find the variables that should be printed. Only use open-coded iteration when printing all variables. For backwards compatibility, keep emitting a newline when printing with value_only. Signed-off-by:
Andreas Fenkart <andreas.fenkart@digitalstrom.com>