mirror of
https://github.com/meshtastic/firmware.git
synced 2025-08-04 04:40:50 +00:00
fix misc build warnings. NFC
This commit is contained in:
parent
34f3800e2b
commit
485fc7639e
@ -35,7 +35,7 @@ std::string sanitizeString(const std::string &input)
|
|||||||
inReplacement = false;
|
inReplacement = false;
|
||||||
} else {
|
} else {
|
||||||
if (!inReplacement) {
|
if (!inReplacement) {
|
||||||
output += '¿';
|
output += 0xbf; // ISO-8859-1 for inverted question mark
|
||||||
inReplacement = true;
|
inReplacement = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -266,6 +266,11 @@ int32_t ButtonThread::runOnce()
|
|||||||
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// doesn't handle BUTTON_EVENT_PRESSED_SCREEN BUTTON_EVENT_TOUCH_LONG_PRESSED BUTTON_EVENT_COMBO_SHORT_LONG
|
||||||
|
default: {
|
||||||
|
break;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
btnEvent = BUTTON_EVENT_NONE;
|
btnEvent = BUTTON_EVENT_NONE;
|
||||||
|
@ -113,6 +113,10 @@ int SystemCommandsModule::handleInputEvent(const InputEvent *event)
|
|||||||
shutdownAtMsec = millis() + DEFAULT_SHUTDOWN_SECONDS * 1000;
|
shutdownAtMsec = millis() + DEFAULT_SHUTDOWN_SECONDS * 1000;
|
||||||
// runState = CANNED_MESSAGE_RUN_STATE_INACTIVE;
|
// runState = CANNED_MESSAGE_RUN_STATE_INACTIVE;
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
|
default:
|
||||||
|
// No other input events handled here
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user