From 17333df6ff9b7dac2fd8c65cc7f8b307038b521c Mon Sep 17 00:00:00 2001 From: Ben Meadors Date: Sun, 31 Dec 2023 08:58:06 -0600 Subject: [PATCH] Change local name --- src/meshDevice.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/meshDevice.ts b/src/meshDevice.ts index cec5537..2ca4416 100755 --- a/src/meshDevice.ts +++ b/src/meshDevice.ts @@ -612,7 +612,7 @@ export abstract class MeshDevice { `🔌 Entering DFU mode`, ); - const reboot = new Protobuf.AdminMessage({ + const dfu = new Protobuf.AdminMessage({ payloadVariant: { case: "enterDfuModeRequest", value: true, @@ -620,7 +620,7 @@ export abstract class MeshDevice { }); return await this.sendPacket( - reboot.toBinary(), + dfu.toBinary(), Protobuf.PortNum.ADMIN_APP, "self", );