From 8f48e2ed94bc10ca33bd6fd29c123f7152d5aa5f Mon Sep 17 00:00:00 2001 From: pmantoine Date: Mon, 11 Nov 2024 09:06:56 +0800 Subject: [PATCH] Bugfix EXRAIL EXTT_TURNTABLE description now optional --- EXRAIL2MacroReset.h | 4 ++-- version.h | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/EXRAIL2MacroReset.h b/EXRAIL2MacroReset.h index 8e305fc..82272a9 100644 --- a/EXRAIL2MacroReset.h +++ b/EXRAIL2MacroReset.h @@ -219,7 +219,7 @@ #define CONFIGURE_SERVO(vpin,pos1,pos2,profile) #define DCC_SIGNAL(id,add,subaddr) #define DCCX_SIGNAL(id,redAspect,amberAspect,greenAspect) -#define DCC_TURNTABLE(id,home,description) +#define DCC_TURNTABLE(id,home,description...) #define DEACTIVATE(addr,subaddr) #define DEACTIVATEL(addr) #define DELAY(mindelay) @@ -233,7 +233,7 @@ #define ENDTASK #define ESTOP #define EXRAIL -#define EXTT_TURNTABLE(id,vpin,home,description) +#define EXTT_TURNTABLE(id,vpin,home,description...) #define FADE(pin,value,ms) #define FOFF(func) #define FOLLOW(route) diff --git a/version.h b/version.h index c089ab8..10549ba 100644 --- a/version.h +++ b/version.h @@ -3,7 +3,8 @@ #include "StringFormatter.h" -#define VERSION "5.2.89" +#define VERSION "5.2.90" +// 5.2.90 - Bugfix: EXRAIL EXTT_TURNTABLE() now has description as optional in line with ocumentation (also fixed DCC_TURNTABLE) // 5.2.89 - EXRAIL SET(vpin[,npins]) RESET(vpin,[,npins]) pin range manipulation // 5.2.88 - Fix bug where EX-Turntable objects return incorrect angle for home with // 5.2.87 - CamParser and IO_EXSensorCam driver