]> cloudbase.mooo.com Git - z180-stamp.git/blobdiff - avr/main.c
Bufix mstep command: take the right arg for parameter count.
[z180-stamp.git] / avr / main.c
index 3852e754a5ba59477cf813421ebfcc36fea0f3c2..113b4f24310f2cea292503f9e274d7b6fbdba42a 100644 (file)
@@ -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;
 }
@@ -277,7 +277,7 @@ int main(void)
        setup_system_time();
        setup_fatfs();
 
-       printf_P(PSTR("\nATMEGA1281+Z8S180 Stamp Monitor\n\n"));
+       printf_P(PSTR("\n" MCU_STRING "+Z8S180 Stamp Monitor\n\n"));
 
        setup_z180_serv();