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

Compare commits

..

1 Commits

Author SHA1 Message Date
chatelao
353a5e2de7
Merge 53f598192c into 387ea019bd 2024-01-06 19:01:21 +00:00
2 changed files with 3 additions and 5 deletions

View File

@ -260,8 +260,7 @@ LookList* RMFT2::LookListLoader(OPCODE op1, OPCODE op2, OPCODE op3) {
void RMFT2::setTurnoutHiddenState(Turnout * t) { void RMFT2::setTurnoutHiddenState(Turnout * t) {
// turnout descriptions are in low flash F strings // turnout descriptions are in low flash F strings
const FSH *desc = getTurnoutDescription(t->getId()); t->setHidden(GETFLASH(getTurnoutDescription(t->getId()))==0x01);
if (desc) t->setHidden(GETFLASH(desc)==0x01);
} }
char RMFT2::getRouteType(int16_t id) { char RMFT2::getRouteType(int16_t id) {

View File

@ -3,8 +3,7 @@
#include "StringFormatter.h" #include "StringFormatter.h"
#define VERSION "5.0.8" #define VERSION "5.0.7"
// 5.0.8 - Bugfix: Do not crash on turnouts without description
// 5.0.7 - Only flag 2.2.0.0-dev as broken, not 2.2.0.0 // 5.0.7 - Only flag 2.2.0.0-dev as broken, not 2.2.0.0
// 5.0.6 - Bugfix lost TURNOUTL description // 5.0.6 - Bugfix lost TURNOUTL description
// 5.0.5 - Bugfix version detection logic and better message // 5.0.5 - Bugfix version detection logic and better message