From 01fea1bedd3efd24f9537c0be5622049bf728790 Mon Sep 17 00:00:00 2001 From: Korneliusz Osmenda Date: Thu, 1 Sep 2022 21:24:48 +0200 Subject: [PATCH] more commented out debug --- src/bt.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/bt.c b/src/bt.c index bc250ff..9dfe40b 100644 --- a/src/bt.c +++ b/src/bt.c @@ -201,6 +201,9 @@ static uint8_t notify_rx_func(struct bt_conn *conn, } //printt("[NOTIFICATION_RX] data %p length %u", data, length); + //uint8_t *d = (uint8_t*)data; + //printt("%02x %02x %02x %02x %02x %02x %02x %02x", + // d[0], d[1], d[2], d[3], d[4], d[5], d[6], d[7]); struct uart_barrot_data *uart_data = CONTAINER_OF(state,struct uart_barrot_data,rx); k_mutex_lock(&uart_data->irq_mutex, K_FOREVER);