Clear bluetooth bonds on multi-press and factory_reset (#1176)

* Clear bluetooth bonds on multi-press and factory_reset
This commit is contained in:
Ben Meadors
2022-02-01 18:32:26 -06:00
committed by GitHub
parent dd31a829fb
commit b21b7de04b
6 changed files with 40 additions and 2 deletions

View File

@@ -340,6 +340,9 @@ class ButtonThread : public OSThread
{
#ifndef NO_ESP32
clearNVS();
#endif
#ifdef NRF52_SERIES
clearBonds();
#endif
}