mirror of
https://github.com/meshtastic/firmware.git
synced 2025-02-08 21:51:46 +00:00
try to reset values on nrf using nodeDB methods
This commit is contained in:
parent
d328823c03
commit
67bc6b1419
@ -105,6 +105,13 @@ bool NodeDB::resetRadioConfig()
|
|||||||
|
|
||||||
Bluefruit.Periph.clearBonds();
|
Bluefruit.Periph.clearBonds();
|
||||||
Bluefruit.Central.clearBonds();
|
Bluefruit.Central.clearBonds();
|
||||||
|
|
||||||
|
installDefaultDeviceState();
|
||||||
|
installDefaultRadioConfig();
|
||||||
|
installDefaultChannels();
|
||||||
|
saveToDisk();
|
||||||
|
saveChannelsToDisk();
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
didFactoryReset = true;
|
didFactoryReset = true;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user