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:
andrekir 2024-08-18 06:36:24 -03:00
parent d1cba7b7b2
commit 6d4b0b60f8

View file

@ -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
})
}