mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-04-20 22:23:37 +00:00
Fixed nodeDB reset even on remote nodeDB reset (#2087)
This commit is contained in:
parent
7a5813ebb3
commit
39590b75ee
1 changed files with 0 additions and 2 deletions
|
|
@ -2317,14 +2317,12 @@ class MeshService : Service(), Logging {
|
|||
}
|
||||
|
||||
override fun requestFactoryReset(requestId: Int, destNum: Int) = toRemoteExceptions {
|
||||
clearDatabases()
|
||||
sendToRadio(newMeshPacketTo(destNum).buildAdminPacket(id = requestId) {
|
||||
factoryResetDevice = 1
|
||||
})
|
||||
}
|
||||
|
||||
override fun requestNodedbReset(requestId: Int, destNum: Int) = toRemoteExceptions {
|
||||
clearDatabases()
|
||||
sendToRadio(newMeshPacketTo(destNum).buildAdminPacket(id = requestId) {
|
||||
nodedbReset = 1
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue