1
0
mirror of https://github.com/DCC-EX/CommandStation-EX.git synced 2024-12-23 12:51:24 +01:00

Further STM32 TrackManager fix

This commit is contained in:
pmantoine 2024-10-03 09:28:55 +08:00
parent 33c8ed19a9
commit f5014f5595
2 changed files with 6 additions and 5 deletions

View File

@ -160,8 +160,8 @@ void TrackManager::setDCCSignal( bool on) {
HAVE_PORTD(PORTD=shadowPORTD);
HAVE_PORTE(PORTE=shadowPORTE);
HAVE_PORTF(PORTF=shadowPORTF);
HAVE_PORTG(shadowPORTG=PORTG);
HAVE_PORTH(shadowPORTH=PORTH);
HAVE_PORTG(PORTG=shadowPORTG);
HAVE_PORTH(PORTH=shadowPORTH);
}
// setPROGSignal(), called from interrupt context
@ -182,8 +182,8 @@ void TrackManager::setPROGSignal( bool on) {
HAVE_PORTD(PORTD=shadowPORTD);
HAVE_PORTE(PORTE=shadowPORTE);
HAVE_PORTF(PORTF=shadowPORTF);
HAVE_PORTG(shadowPORTG=PORTG);
HAVE_PORTH(shadowPORTH=PORTH);
HAVE_PORTG(PORTG=shadowPORTG);
HAVE_PORTH(PORTH=shadowPORTH);
}
// setDCSignal(), called from normal context

View File

@ -3,7 +3,8 @@
#include "StringFormatter.h"
#define VERSION "5.2.83"
#define VERSION "5.2.84"
// 5.2.84 - Fix TrackManager setDCCSignal and setPROGSignal for STM32 shadowing of PORTG/PORTH - this time it really is correct!
// 5.2.83 - Various STM32 related fixes for serial ports, I2C pullups now turned off, and shadowing of PORTG/PORTH for TrackManager now correct
// 5.2.82 - TrackManager and EXRAIL: Introduce more consistent names for <= ...> and SET_TRACK
// 5.2.81 - STM32 Ethernet boards support, also now have specific EX8874 motor driver definition