X-Git-Url: http://cloudbase.mooo.com/gitweb/z180-stamp.git/blobdiff_plain/e4344855b4d5d3edb4a07640a808ba2e0f06914f..db6a28d817d6430b5774aedab7e1b8715e358d46:/avr/main.c diff --git a/avr/main.c b/avr/main.c index 7796a36..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; }