Use defined FLASH_PIN for setting LED

This commit is contained in:
7u83 2024-05-16 23:19:18 +02:00
parent fd824d37cf
commit cb9508b2ac

View File

@ -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;