diff --git a/EXRAILAsserts.h b/EXRAILAsserts.h index cd01ad8..fb40cb1 100644 --- a/EXRAILAsserts.h +++ b/EXRAILAsserts.h @@ -145,9 +145,9 @@ constexpr bool unsafePin(const int16_t value, const uint16_t pos=0 ) { // check dangerous pins #define _PIN_RESERVED_ "\n\nUSER ERROR: Pin is used by Motor Shield or other critical function.\n" #undef SET -#define SET(vpin) static_assert(!unsafePin(vpin),"SET(" #vpin ")" _PIN_RESERVED_); +#define SET(vpin, ...) static_assert(!unsafePin(vpin),"SET(" #vpin ")" _PIN_RESERVED_); #undef RESET -#define RESET(vpin) static_assert(!unsafePin(vpin),"RESET(" #vpin ")" _PIN_RESERVED_); +#define RESET(vpin,...) static_assert(!unsafePin(vpin),"RESET(" #vpin ")" _PIN_RESERVED_); #undef BLINK #define BLINK(vpin,onDuty,offDuty) static_assert(!unsafePin(vpin),"BLINK(" #vpin ")" _PIN_RESERVED_); #undef SIGNAL diff --git a/version.h b/version.h index 615f906..8b0ad57 100644 --- a/version.h +++ b/version.h @@ -3,7 +3,8 @@ #include "StringFormatter.h" -#define VERSION "5.5.19" +#define VERSION "5.5.20" +// 5.5.20 - EXRAIL SET/RESET assert fix // 5.5.19 - Railcom change to use RailcomCollector device // 5.5.18 - New STASH internals // - EXRAIL IFSTASH/CLEAR_ANY_STASH