X-Git-Url: http://cloudbase.mooo.com/gitweb/z180-stamp.git/blobdiff_plain/5730789084d22d229a87fa42fe55079c4bb35cd8..ef77033ca52647599df6c9053d073216d439780c:/avr/main.c diff --git a/avr/main.c b/avr/main.c index 0a1cab6..423b48a 100644 --- a/avr/main.c +++ b/avr/main.c @@ -31,7 +31,7 @@ uint8_t mcusr __attribute__ ((section (".noinit"))); __attribute__ ((naked)) __attribute__ ((section (".init3"))) void preset_ram (void) { - for (uint8_t *p = RAMSTART; p <= (uint8_t *) RAMEND; p++) + for (uint8_t *p = (uint8_t *) RAMSTART; p <= (uint8_t *) RAMEND; p++) *p = 0xdd; } @@ -276,7 +276,7 @@ int main(void) setup_system_time(); setup_fatfs(); - printf_P(PSTR("\n" MCU_STRING "+Z8S180 Stamp Monitor\n\n")); + printf_P(PSTR("\n" MCU_STRING "+Z8S180 Stamp Monitor - Version: " VERSION " \n\n")); setup_z180_serv();