summaryrefslogtreecommitdiff
path: root/avr/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'avr/main.c')
-rw-r--r--avr/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/avr/main.c b/avr/main.c
index b8ce26d..113b4f2 100644
--- a/avr/main.c
+++ b/avr/main.c
@@ -224,7 +224,7 @@ const char *bootdelay_process(void)
debug("### main_loop entered: bootdelay=%d\n\n", bootdelay);
_delay_ms(20);
- s = getenv(PSTR(ENV_BOOTCMD));
+ s = getenv_char(PSTR(ENV_BOOTCMD));
stored_bootdelay = bootdelay;
return s;
}