From 20d66fad4e88147ad3d1aa4b9fdac28fd4a06b4c Mon Sep 17 00:00:00 2001 From: Harald Barth Date: Wed, 24 May 2023 13:31:18 +0200 Subject: [PATCH] Routes, automations and roster lists: Exclude ID 0 to be presented as available --- DCCEXParser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DCCEXParser.cpp b/DCCEXParser.cpp index 12e7715..d39fb5a 100644 --- a/DCCEXParser.cpp +++ b/DCCEXParser.cpp @@ -48,7 +48,7 @@ for (int16_t i=0;;i+=sizeof(flashList[0])) { \ int16_t value=GETHIGHFLASHW(flashList,i); \ if (value==INT16_MAX) break; \ - StringFormatter::send(stream,F(" %d"),value); \ + if (value != 0) StringFormatter::send(stream,F(" %d"),value); \ }