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

Change from TrackManager::returnMode to TrackManager::getMode

This commit is contained in:
Harald Barth 2023-11-27 08:15:07 +01:00
parent 96fdbfdc89
commit 1f05ef42d2
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 <@