diff --git a/flash.c b/flash.c index 493b039..7b11684 100644 --- a/flash.c +++ b/flash.c @@ -2,7 +2,7 @@ #include <8052.h> #ifndef FLASH_PIN -#define FLASH_PIN P2_0 +#define FLASH_PIN _P2_0 #endif #ifndef IRQFREQ @@ -31,7 +31,7 @@ void handler() __interrupt 1 dec _ctr_w cjne a,_ctr_w, 00001$ - cpl _P2_0 + cpl FLASH_PIN __endasm; ctr_l = TCT&0xFF;