reduced logging

This commit is contained in:
2025-08-31 12:25:02 +02:00
parent 8282555be6
commit fb9fb9bdf0
5 changed files with 10 additions and 4 deletions

View File

@@ -50,11 +50,13 @@ static void can_rx_handler(const struct device *dev, struct can_frame *frame, vo
ring_buf_put(&in_ringbuf, msg->data, MIN(ring_buf_space_get(&in_ringbuf), msg->len));
/*
printf("RX: ");
for (size_t i = 0; i < msg->len; i++) {
printf("%02X ", msg->data[i]);
}
printf(" / %i\n", msg->len);
*/
}
bool zephyr_transport_open(struct uxrCustomTransport * transport){
@@ -112,11 +114,13 @@ size_t zephyr_transport_write(struct uxrCustomTransport* transport, const uint8_
can_send(params->uart_dev, &frame, K_NO_WAIT, NULL, NULL);
/*
printf("TX: ");
for (size_t i = 0; i < len; i++) {
printf("%02X ", msg->data[i]);
}
printf(" / %i\n", msg->len);
*/
return len;
}