Added MACROs CALC_MULTIFUNCTION_EXTENDED_ADDRESS_MSB and CALC_MULTIFUNCTION_EXTENDED_ADDRESS_LSB to correctly compute the DCC Address for CV storage
Corrected bug: ESP32 version stops working when loosing interupts or signal is bad (#48) bumped version to 2.0.7
This commit is contained in:
@@ -494,10 +494,10 @@ void ExternalInterruptHandler(void)
|
||||
ISRWatch = ISREdge;
|
||||
#else
|
||||
attachInterrupt( DccProcState.ExtIntNum, ExternalInterruptHandler, ISREdge );
|
||||
#endif
|
||||
// enable level checking ( with direct port reading @ AVR )
|
||||
ISRChkMask = DccProcState.ExtIntMask;
|
||||
ISRLevel = (ISREdge==RISING)? DccProcState.ExtIntMask : 0 ;
|
||||
#endif
|
||||
SET_TP3;
|
||||
CLR_TP4;
|
||||
}
|
||||
|
Reference in New Issue
Block a user