From d95096ded852429f04310c1546a57fd9f990b190 Mon Sep 17 00:00:00 2001 From: pmantoine Date: Wed, 30 Nov 2022 10:11:27 +0800 Subject: [PATCH] Fixes STM32 compiler warning, and WIT/WIFI diags --- EXRAIL2.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/EXRAIL2.cpp b/EXRAIL2.cpp index 96cb447..67cfce4 100644 --- a/EXRAIL2.cpp +++ b/EXRAIL2.cpp @@ -965,7 +965,7 @@ void RMFT2::delayMe(long delay) { delayStart=millis(); } -boolean RMFT2::setFlag(VPIN id,byte onMask, byte offMask) { +bool RMFT2::setFlag(VPIN id,byte onMask, byte offMask) { if (FLAGOVERFLOW(id)) return false; // Outside range limit byte f=flags[id]; f &= ~offMask;