dump
This commit is contained in:
1 parent
614a891575
commit
76555f019b
3 files changed
+6
-11
No files matched your search
+1
-1
@@ -29,7 +29,7 @@ void log_dump(const char* prefix, const uint8_t* data, size_t len) {
|
||||
}
|
||||
|
||||
// Single-line debug output with packet info
|
||||
DEBUG_INFO(DEBUG_CATEGORY_ETCP, "%s: len=%zu hex=%s", prefix, len, hex_buf);
|
||||
DEBUG_INFO(DEBUG_CATEGORY_DUMP, "%s: len=%zu hex=%s", prefix, len, hex_buf);
|
||||
|
||||
// Additional debug info for first few bytes
|
||||
// if (len >= 2) {
|
||||
|
||||
Reference in new issue
Block a user