diff options
author | Joel Challis <[email protected]> | 2024-01-26 16:32:06 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2024-01-26 16:32:06 +0000 |
commit | a632593769758244f10f577adb69b30e06f64985 (patch) | |
tree | 4e6264ac839a88ff927a75dc152aab0787282c56 /keyboards/bioi | |
parent | 728aa576b0cd65c6fb7cf77132fdcd06fcedb643 (diff) | |
download | qmk_firmware-a632593769758244f10f577adb69b30e06f64985.tar.gz qmk_firmware-a632593769758244f10f577adb69b30e06f64985.zip |
Migrate and remove deprecated debug utils (#22961)
Diffstat (limited to 'keyboards/bioi')
-rw-r--r-- | keyboards/bioi/bluetooth_custom.c | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/keyboards/bioi/bluetooth_custom.c b/keyboards/bioi/bluetooth_custom.c index 4ea277f731..c3e12d3c6a 100644 --- a/keyboards/bioi/bluetooth_custom.c +++ b/keyboards/bioi/bluetooth_custom.c @@ -59,9 +59,7 @@ static void bluefruit_trace_footer(void) static void bluefruit_serial_send(uint8_t data) { #ifdef BLUEFRUIT_TRACE_SERIAL - dprintf(" "); - debug_hex8(data); - dprintf(" "); + dprintf(" %02X ", data); #endif serial_send(data); } @@ -146,11 +144,7 @@ void bluetooth_send_consumer(uint16_t usage) uint16_t bitmap = CONSUMER2BLUEFRUIT(usage); #ifdef BLUEFRUIT_TRACE_SERIAL - dprintf("\nData: "); - debug_hex16(data); - dprintf("; bitmap: "); - debug_hex16(bitmap); - dprintf("\n"); + dprintf("\nData: %04X; bitmap: %04X\n", data, bitmap); bluefruit_trace_header(); #endif send_str(PSTR("AT+BLEHIDCONTROLKEY=0x")); |