diff options
author | Leo C | 2014-10-15 21:20:41 +0200 |
---|---|---|
committer | Leo C | 2014-10-15 21:20:41 +0200 |
commit | 70c994914510f9db3ff71373cb96f50ee1669446 (patch) | |
tree | b9fce17909ca3a66524a5b7f6c7fe7b118cb409c /avr/main.c | |
parent | cd5ee5442821f283f6661befb24b885d944e4c5e (diff) | |
download | z180-stamp-70c994914510f9db3ff71373cb96f50ee1669446.zip |
Add pin_alias
Diffstat (limited to 'avr/main.c')
-rw-r--r-- | avr/main.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 |