From 7a47a2090f93a03063e644c3534d44e3c6b7f778 Mon Sep 17 00:00:00 2001 From: proddy Date: Sun, 2 Mar 2025 09:22:59 +0100 Subject: [PATCH] fix message in testing devices --- src/test/test.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/test/test.cpp b/src/test/test.cpp index f1ab6f9ed..7f1b2fce5 100644 --- a/src/test/test.cpp +++ b/src/test/test.cpp @@ -288,8 +288,8 @@ void Test::run_test(uuid::console::Shell & shell, const std::string & cmd, const } // extract params - int8_t id1 = -1; - int8_t id2 = -1; + int16_t id1 = -1; + int16_t id2 = -1; if (!id1_s.empty()) { if (id1_s[0] == '0' && id1_s[1] == 'x') { id1 = Helpers::hextoint(id1_s.c_str()); @@ -307,7 +307,7 @@ void Test::run_test(uuid::console::Shell & shell, const std::string & cmd, const shell.printfln("Usage: test add "); return; } - shell.printfln("Testing Adding a device (product_id %d), with all values...", id2); + shell.printfln("Testing adding a device (deviceID 0x%02X, product_id %d), with all values...", id1, id2); test("add", id1, id2); shell.invoke_command("show devices"); ok = true;