mirror of
https://github.com/meshtastic/firmware.git
synced 2025-12-20 17:52:35 +00:00
Make disable return an int32_t for runOnce usage
This commit is contained in:
@@ -244,8 +244,7 @@ bool MQTT::wantsLink() const
|
||||
int32_t MQTT::runOnce()
|
||||
{
|
||||
if(!moduleConfig.mqtt.enabled) {
|
||||
enabled = false;
|
||||
return INT32_MAX;
|
||||
return disable();
|
||||
}
|
||||
bool wantConnection = wantsLink();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user