mirror of
https://github.com/meshtastic/firmware.git
synced 2025-12-21 18:22:32 +00:00
Make disable return an int32_t for runOnce usage
This commit is contained in:
@@ -260,8 +260,7 @@ int32_t AudioModule::runOnce()
|
||||
return 100;
|
||||
} else {
|
||||
DEBUG_MSG("Audio Module Disabled\n");
|
||||
enabled = false;
|
||||
return INT32_MAX;
|
||||
return disable();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user