1
0
mirror of https://github.com/DCC-EX/CommandStation-EX.git synced 2024-11-24 08:36:14 +01:00

Compare commits

..

2 Commits

Author SHA1 Message Date
Kcsmith0708
67fed4adfc
Merge 04f0f56348 into 1f05ef42d2 2023-11-27 01:14:04 -07:00
Harald Barth
1f05ef42d2 Change from TrackManager::returnMode to TrackManager::getMode 2023-11-27 08:15:07 +01:00
4 changed files with 5 additions and 4 deletions

View File

@ -1 +1 @@
#define GITHUB_SHA "devel-202311232114Z" #define GITHUB_SHA "devel-202311270714Z"

View File

@ -641,7 +641,7 @@ bool TrackManager::isProg(byte t) {
return false; return false;
} }
byte TrackManager::returnMode(byte t) { TRACK_MODE TrackManager::getMode(byte t) {
return (track[t]->getMode()); return (track[t]->getMode());
} }

View File

@ -92,7 +92,7 @@ class TrackManager {
static void streamTrackState(Print* stream, byte t); static void streamTrackState(Print* stream, byte t);
static bool isPowerOn(byte t); static bool isPowerOn(byte t);
static bool isProg(byte t); static bool isProg(byte t);
static byte returnMode(byte t); static TRACK_MODE getMode(byte t);
static int16_t returnDCAddr(byte t); static int16_t returnDCAddr(byte t);
static const FSH* getModeName(TRACK_MODE Mode); static const FSH* getModeName(TRACK_MODE Mode);

View File

@ -3,7 +3,8 @@
#include "StringFormatter.h" #include "StringFormatter.h"
#define VERSION "5.2.10" #define VERSION "5.2.11"
// 5.2.11 - Change from TrackManager::returnMode to TrackManager::getMode
// 5.2.10 - Include trainbrains.eu block unoccupancy driver // 5.2.10 - Include trainbrains.eu block unoccupancy driver
// - include IO_PCA9555 // - include IO_PCA9555
// 5.2.9 - Bugfix LCD startup with no LCD, uses <@ // 5.2.9 - Bugfix LCD startup with no LCD, uses <@