reverted changes around lastMicros
This commit is contained in:
@@ -342,9 +342,9 @@ void ExternalInterruptHandler(void)
|
||||
// Bit evaluation without Timer 0 ------------------------------
|
||||
uint8_t DccBitVal;
|
||||
static int8_t bit1, bit2 ;
|
||||
static unsigned long lastMicros = 0;
|
||||
static word lastMicros = 0;
|
||||
static byte halfBit, DCC_IrqRunning;
|
||||
unsigned long actMicros, bitMicros;
|
||||
unsigned int actMicros, bitMicros;
|
||||
if ( DCC_IrqRunning ) {
|
||||
// nested DCC IRQ - obviously there are glitches
|
||||
// ignore this interrupt and increment glitchcounter
|
||||
|
Reference in New Issue
Block a user