mirror of
https://github.com/DCC-EX/CommandStation-EX.git
synced 2024-11-27 01:56:14 +01:00
Bugfix EXRAIL active high signal handling
This commit is contained in:
parent
16214fad66
commit
bd11cfbf8b
|
@ -1218,7 +1218,7 @@ int16_t RMFT2::getSignalSlot(int16_t id) {
|
||||||
if (rag==SIGNAL_AMBER && (amberpin==0)) rag=SIMAMBER; // special case this func only
|
if (rag==SIGNAL_AMBER && (amberpin==0)) rag=SIMAMBER; // special case this func only
|
||||||
|
|
||||||
// Manage invert (HIGH on) pins
|
// Manage invert (HIGH on) pins
|
||||||
bool aHigh=sigid & ACTIVE_HIGH_SIGNAL_FLAG;
|
bool aHigh=sighandle & ACTIVE_HIGH_SIGNAL_FLAG;
|
||||||
|
|
||||||
// set the three pins
|
// set the three pins
|
||||||
if (redpin) {
|
if (redpin) {
|
||||||
|
|
|
@ -3,7 +3,8 @@
|
||||||
|
|
||||||
#include "StringFormatter.h"
|
#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.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
|
// 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
|
// - Add support for ports G and H on STM32 for ADCee() and MotorDriver pins/shadow regs
|
||||||
|
|
Loading…
Reference in New Issue
Block a user