mirror of
https://github.com/DCC-EX/CommandStation-EX.git
synced 2024-11-24 16:46:13 +01:00
Compare commits
No commits in common. "a092e06a6fec69159de22e14127524d53e65a20c" and "fe618d0b854a200dec5ce670e24dc92587735464" have entirely different histories.
a092e06a6f
...
fe618d0b85
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -14,4 +14,3 @@ my*.h
|
||||||
!my*.example.h
|
!my*.example.h
|
||||||
compile_commands.json
|
compile_commands.json
|
||||||
newcode.txt.old
|
newcode.txt.old
|
||||||
UserAddin.txt
|
|
||||||
|
|
|
@ -356,7 +356,6 @@ void TrackManager::streamTrackState(Print* stream, byte t) {
|
||||||
if (track[t]==NULL) return;
|
if (track[t]==NULL) return;
|
||||||
auto format=F("");
|
auto format=F("");
|
||||||
bool pstate = TrackManager::isPowerOn(t);
|
bool pstate = TrackManager::isPowerOn(t);
|
||||||
|
|
||||||
switch(track[t]->getMode()) {
|
switch(track[t]->getMode()) {
|
||||||
case TRACK_MODE_MAIN:
|
case TRACK_MODE_MAIN:
|
||||||
if (pstate) {format=F("<= %c MAIN ON>\n");} else {format = F("<= %c MAIN OFF>\n");}
|
if (pstate) {format=F("<= %c MAIN ON>\n");} else {format = F("<= %c MAIN OFF>\n");}
|
||||||
|
@ -563,11 +562,7 @@ byte TrackManager::returnMode(byte t) {
|
||||||
return (track[t]->getMode());
|
return (track[t]->getMode());
|
||||||
}
|
}
|
||||||
|
|
||||||
int16_t TrackManager::returnDCAddr(byte t) {
|
static const char* TrackManager::getModeName(byte Mode) {
|
||||||
return (trackDCAddr[t]);
|
|
||||||
}
|
|
||||||
|
|
||||||
const char* TrackManager::getModeName(byte Mode) {
|
|
||||||
|
|
||||||
//DIAG(F("PowerMode %d"), Mode);
|
//DIAG(F("PowerMode %d"), Mode);
|
||||||
|
|
||||||
|
|
|
@ -91,7 +91,6 @@ class TrackManager {
|
||||||
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 byte returnMode(byte t);
|
||||||
static int16_t returnDCAddr(byte t);
|
|
||||||
static const char* getModeName(byte Mode);
|
static const char* getModeName(byte Mode);
|
||||||
|
|
||||||
static int16_t joinRelay;
|
static int16_t joinRelay;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user