mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-07-03 14:06:34 +02:00
refactor: rename admin factory reset method
references: - https://github.com/meshtastic/protobufs/pull/539 - https://github.com/meshtastic/firmware/pull/4427
This commit is contained in:
@@ -1968,7 +1968,7 @@ class MeshService : Service(), Logging {
|
||||
|
||||
override fun requestFactoryReset(requestId: Int, destNum: Int) = toRemoteExceptions {
|
||||
sendToRadio(newMeshPacketTo(destNum).buildAdminPacket(id = requestId) {
|
||||
factoryReset = 1
|
||||
factoryResetDevice = 1
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user