/FollowMe/timer0.c |
---|
7,12 → 7,9 |
volatile uint16_t CountMilliseconds = 0; |
DateTime_t SystemTime; |
#ifdef USE_FOLLOWME |
volatile uint16_t BeepTime = 0; |
volatile uint16_t BeepModulation = 0xFFFF; |
#endif |
/*****************************************************/ |
/* Initialize Timer 0 */ |
/*****************************************************/ |
91,7 → 88,6 |
CountMilliseconds++; // increment millisecond counter |
} |
#ifdef USE_FOLLOWME |
// beeper on if duration is not over |
if(BeepTime) |
{ |
104,7 → 100,7 |
Beeper_On = 0; |
BeepModulation = 0xFFFF; |
} |
#ifdef USE_FOLLOWME |
// if beeper is on |
if(Beeper_On) |
{ |