summaryrefslogtreecommitdiff
path: root/avr/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'avr/main.c')
-rw-r--r--avr/main.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/avr/main.c b/avr/main.c
index e7ebd5d..ba8a672 100644
--- a/avr/main.c
+++ b/avr/main.c
@@ -168,13 +168,13 @@ const char *bootdelay_process(void)
char *s;
int bootdelay;
- bootdelay = (int) getenv_ulong(PSTR("bootdelay"), 10, CONFIG_BOOTDELAY);
+ bootdelay = (int) getenv_ulong(PSTR(ENV_BOOTDELAY), 10, CONFIG_BOOTDELAY);
debug("### main_loop entered: bootdelay=%d\n\n", bootdelay);
_delay_ms(20);
- s = getenv(PSTR("bootcmd"));
+ s = getenv(PSTR(ENV_BOOTCMD));
stored_bootdelay = bootdelay;
return s;
}
@@ -212,7 +212,7 @@ int main(void)
if (reset_reason_is_power_on())
_delay_ms(CONFIG_PWRON_DELAY);
- serial_setup(getenv_ulong(PSTR("baudrate"), 10, CONFIG_BAUDRATE));
+ serial_setup(getenv_ulong(PSTR(ENV_BAUDRATE), 10, CONFIG_BAUDRATE));
sei();
#if DEBUG