From 024313deacfc3155ed8a3e84db7202fa155a1dfd Mon Sep 17 00:00:00 2001 From: Asbelos Date: Tue, 4 Jan 2022 19:46:52 +0000 Subject: [PATCH] Avoid warning if no roster --- RMFTMacros.h | 1 + 1 file changed, 1 insertion(+) diff --git a/RMFTMacros.h b/RMFTMacros.h index 249a8c5..b2476ed 100644 --- a/RMFTMacros.h +++ b/RMFTMacros.h @@ -124,6 +124,7 @@ const byte RMFT2::rosterNameCount=0 #define ROSTER(cabid,name,funcmap...) StringFormatter::send(stream,(FSH *)format,F(name),cabid,cabid<128?'S':'L'); void RMFT2::emitWithrottleRoster(Print * stream) { static const char format[] FLASH ="]\\[%S}|{%d}|{%c"; + (void)format; StringFormatter::send(stream,F("RL%d"), rosterNameCount); #include "myAutomation.h" stream->write('\n');