From 44c4ee8bc07a8754d2654d6fb1b04928ecadc3a1 Mon Sep 17 00:00:00 2001 From: proddy Date: Sun, 2 Mar 2025 17:33:31 +0100 Subject: [PATCH] show device id in hex --- src/core/system.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/system.cpp b/src/core/system.cpp index 2503c5a99..e51e8c4d6 100644 --- a/src/core/system.cpp +++ b/src/core/system.cpp @@ -2115,7 +2115,7 @@ bool System::readCommand(const char * data) { strlcpy(value, p, 10); // get string device_id = (uint8_t)Helpers::hextoint(value); // convert hex to int if (!EMSESP::valid_device(device_id)) { - LOG_ERROR("Invalid device ID (%d) in read command", device_id); + LOG_ERROR("Invalid device ID (0x%02X) in read command", device_id); return false; // invalid device } }