From cf49a7a79817e0296b193f696aed2ccc27b6ef3e Mon Sep 17 00:00:00 2001 From: Martin Michelsen Date: Sat, 23 Apr 2022 18:58:19 -0700 Subject: [PATCH] fix uninitialized field in split reconnect command --- src/SendCommands.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/SendCommands.cc b/src/SendCommands.cc index 13df3b42..4f0bdd11 100644 --- a/src/SendCommands.cc +++ b/src/SendCommands.cc @@ -272,6 +272,7 @@ void send_pc_gc_split_reconnect(shared_ptr c, uint32_t address, cmd.pc_address = address; cmd.pc_port = pc_port; cmd.gc_command = 0x19; + cmd.gc_flag = 0x00; cmd.gc_size = 0x97; cmd.gc_address = address; cmd.gc_port = gc_port;