Skip to content

Commit

Permalink
Further STM32 TrackManager fix
Browse files Browse the repository at this point in the history
  • Loading branch information
pmantoine committed Oct 3, 2024
1 parent 33c8ed1 commit f5014f5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
8 changes: 4 additions & 4 deletions TrackManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
3 changes: 2 additions & 1 deletion version.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f5014f5

Please sign in to comment.