Fix debug prints

This commit is contained in:
jgromes 2025-01-19 18:30:02 +01:00
parent 8126e6f508
commit 4733fdd9d1

View file

@ -59,9 +59,9 @@ void rlb_hexdump(const char* level, const uint8_t* data, size_t len, uint32_t of
sprintf(strPtr++, " "); sprintf(strPtr++, " ");
} }
if(level) { if(level) {
RADIOLIB_DEBUG_PRINT(level); RADIOLIB_DEBUG_PRINT("%s", level);
} }
RADIOLIB_DEBUG_PRINT(str); RADIOLIB_DEBUG_PRINT("%s", str);
RADIOLIB_DEBUG_PRINTLN(); RADIOLIB_DEBUG_PRINTLN();
rem_len -= 16; rem_len -= 16;
} }