From 763c9d8ae6d2d46fe09cbaff4f4ac82bef94496a Mon Sep 17 00:00:00 2001 From: Asbelos Date: Thu, 30 Nov 2023 11:32:39 +0000 Subject: [PATCH] STEALTH --- EXRAIL2MacroReset.h | 2 ++ EXRAILMacros.h | 3 +++ version.h | 3 ++- 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/EXRAIL2MacroReset.h b/EXRAIL2MacroReset.h index 9d23f04..7811a0d 100644 --- a/EXRAIL2MacroReset.h +++ b/EXRAIL2MacroReset.h @@ -156,6 +156,7 @@ #undef SPEED #undef START #undef STASH +#undef STEALTH #undef STOP #undef THROW #undef TT_ADDPOSITION @@ -306,6 +307,7 @@ #define SPEED(speed) #define START(route) #define STASH(id) +#define STEALTH(code...) #define STOP #define THROW(id) #define TT_ADDPOSITION(turntable_id,position,value,angle,description...) diff --git a/EXRAILMacros.h b/EXRAILMacros.h index ac76efc..f79693d 100644 --- a/EXRAILMacros.h +++ b/EXRAILMacros.h @@ -210,6 +210,8 @@ case (__COUNTER__ - StringMacroTracker1) : {\ lcdid=id;\ break;\ } +#undef STEALTH +#define STEALTH(code...) case (__COUNTER__ - StringMacroTracker1) : {code} return; #undef WITHROTTLE #define WITHROTTLE(msg) THRUNGE(msg,thrunge_withrottle) @@ -422,6 +424,7 @@ int RMFT2::onLCCLookup[RMFT2::countLCCLookup]; OPCODE_PAD,V((((uint64_t)sender)>>0)&0xFFFF), #define LCD(id,msg) PRINT(msg) #define SCREEN(display,id,msg) PRINT(msg) +#define STEALTH(code...) PRINT(dummy) #define LCN(msg) PRINT(msg) #define MOVETT(id,steps,activity) OPCODE_SERVO,V(id),OPCODE_PAD,V(steps),OPCODE_PAD,V(EXTurntable::activity),OPCODE_PAD,V(0), #define ONACTIVATE(addr,subaddr) OPCODE_ONACTIVATE,V(addr<<2|subaddr), diff --git a/version.h b/version.h index a0cb16a..0304500 100644 --- a/version.h +++ b/version.h @@ -3,7 +3,8 @@ #include "StringFormatter.h" -#define VERSION "5.2.12" +#define VERSION "5.2.13" +// 5.2.13 - EXRAIL STEALTH // 5.2.12 - ESP32 add AP mode LCD messages with SSID/PW for // - STM32 change to UID_BASE constants in DCCTimerSTM32 rather than raw hex addresses for UID registers // - STM32 extra UART/USARTs for larger Nucleo models