1
0
mirror of https://github.com/DCC-EX/CommandStation-EX.git synced 2024-11-26 17:46:14 +01:00

Fixes STM32 compiler warning, and WIT/WIFI diags

This commit is contained in:
pmantoine 2022-11-30 10:11:27 +08:00
parent a6ae1a48a2
commit d95096ded8

View File

@ -965,7 +965,7 @@ void RMFT2::delayMe(long delay) {
delayStart=millis(); 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 if (FLAGOVERFLOW(id)) return false; // Outside range limit
byte f=flags[id]; byte f=flags[id];
f &= ~offMask; f &= ~offMask;