mirror of
https://github.com/meshtastic/firmware.git
synced 2026-10-14 11:30:21 -04:00
kinda ugly but BLE sw update seems reliable again
This commit is contained in:
1 parent
6b696bfdc5
commit
8893be57df
4 files changed
+29
-1
No files matched your search
@@ -31,6 +31,13 @@ public:
|
||||
if (!canBegin)
|
||||
// Indicate failure by forcing the size to 0
|
||||
c->setValue(0UL);
|
||||
else {
|
||||
// This totally breaks abstraction to up up into the app layer for this, but quick hack to make sure we only
|
||||
// talk to one service during the sw update.
|
||||
//DEBUG_MSG("FIXME, crufty shutdown of mesh bluetooth for sw update.");
|
||||
//void stopMeshBluetoothService();
|
||||
//stopMeshBluetoothService();
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
@@ -101,6 +108,8 @@ public:
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
|
||||
void bluetoothRebootCheck()
|
||||
{
|
||||
if (rebootAtMsec && millis() > rebootAtMsec)
|
||||
|
||||
Reference in new issue
Block a user