Merge remote-tracking branch 'origin/dev' into mqtt-bridge-implementation

This commit is contained in:
Adam Gessaman
2026-02-09 09:50:44 -08:00
163 changed files with 1101 additions and 631 deletions
+4 -1
View File
@@ -996,7 +996,7 @@ void MyMesh::dumpLogFile() {
}
}
void MyMesh::setTxPower(uint8_t power_dbm) {
void MyMesh::setTxPower(int8_t power_dbm) {
radio_set_tx_power(power_dbm);
}
@@ -1318,5 +1318,8 @@ void MyMesh::loop() {
// To check if there is pending work
bool MyMesh::hasPendingWork() const {
#if defined(WITH_BRIDGE)
if (bridge.isRunning()) return true; // bridge needs WiFi radio, can't sleep
#endif
return _mgr->getOutboundCount(0xFFFFFFFF) > 0;
}