From 20410e7a9451525d4b7c99a51b8fb538c3d84649 Mon Sep 17 00:00:00 2001 From: Martin Michelsen Date: Sun, 27 Mar 2022 00:29:44 -0700 Subject: [PATCH] fix info board --- src/SendCommands.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/SendCommands.cc b/src/SendCommands.cc index a28072fb..11a2f894 100644 --- a/src/SendCommands.cc +++ b/src/SendCommands.cc @@ -613,7 +613,7 @@ static void send_info_board_pc_bb(shared_ptr c, shared_ptr l) { add_color_inplace(e.message); } - send_command(c, 0xD8, 0x00, entries); + send_command(c, 0xD8, entries.size(), entries); } static void send_info_board_dc_gc(shared_ptr c, shared_ptr l) { @@ -636,7 +636,7 @@ static void send_info_board_dc_gc(shared_ptr c, shared_ptr l) { add_color_inplace(e.message); } - send_command(c, 0xD8, 0x00, entries); + send_command(c, 0xD8, entries.size(), entries); } void send_info_board(shared_ptr c, shared_ptr l) {