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;
}
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