diff --git a/EXRAIL2.cpp b/EXRAIL2.cpp index b811145..96763d5 100644 --- a/EXRAIL2.cpp +++ b/EXRAIL2.cpp @@ -1218,7 +1218,7 @@ int16_t RMFT2::getSignalSlot(int16_t id) { if (rag==SIGNAL_AMBER && (amberpin==0)) rag=SIMAMBER; // special case this func only // Manage invert (HIGH on) pins - bool aHigh=sigid & ACTIVE_HIGH_SIGNAL_FLAG; + bool aHigh=sighandle & ACTIVE_HIGH_SIGNAL_FLAG; // set the three pins if (redpin) { diff --git a/version.h b/version.h index 443475b..3260ebb 100644 --- a/version.h +++ b/version.h @@ -3,7 +3,8 @@ #include "StringFormatter.h" -#define VERSION "5.2.53" +#define VERSION "5.2.54" +// 5.2.54 - Bugfix for EXRAIL signal handling for active high // 5.2.53 - Bugfix for EX-Fastclock, call I2CManager.begin() before checking I2C address // 5.2.52 - Bugfix for ADCee() to handle ADC2 and ADC3 channel inputs on F446ZE and others // - Add support for ports G and H on STM32 for ADCee() and MotorDriver pins/shadow regs