From 82929245ed32b1c5fb189114f097a399daed1a6d Mon Sep 17 00:00:00 2001 From: Harald Barth Date: Thu, 25 May 2023 14:02:28 +0200 Subject: [PATCH] char * / flashstring conflict --- GITHUB_SHA.h | 2 +- WiThrottle.cpp | 2 +- version.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/GITHUB_SHA.h b/GITHUB_SHA.h index 9d9a4c8..08d4681 100644 --- a/GITHUB_SHA.h +++ b/GITHUB_SHA.h @@ -1 +1 @@ -#define GITHUB_SHA "devel-202305250828Z" +#define GITHUB_SHA "devel-202305251144Z" diff --git a/WiThrottle.cpp b/WiThrottle.cpp index d69d6ee..4eb0a25 100644 --- a/WiThrottle.cpp +++ b/WiThrottle.cpp @@ -595,7 +595,7 @@ void WiThrottle::sendFunctions(Print* stream, byte loco) { fkeys=0; bool firstchar=true; for (int fx=0;;fx++) { - char c=GETFLASH(functionNames+fx); + char c=GETFLASH((char *)functionNames+fx); if (c=='\0') { fkeys++; break; diff --git a/version.h b/version.h index e8c8294..bcc3f62 100644 --- a/version.h +++ b/version.h @@ -4,7 +4,7 @@ #include "StringFormatter.h" -#define VERSION "4.2.54pre3" +#define VERSION "4.2.54pre4" // 4.2.54 - Fix: Pin handling supports pins up to 254 // 4.2.53 - Fix: Fault pin handling made more straight forward // 4.2.52 - Experimental support for sabertooth motor controller on ESP32