#define BSB_TX_TIMEOUT 10000 // Total time to transmit a frame including all retries and waiting for reply [ms]
#define BSB_REPLY_TIMEOUT 1000 // How long to wait for a reply [ms]
-#define DEBUG_BSB
+#undef DEBUG_BSB
#ifdef DEBUG_BSB
#define BSB_DEBUG(x) debug_putc(x)
#else
static void bsb_check_reply(void)
{
// Match received frame in bsb_rx_status_and_frame to expected replies
- // and set the status byte in byte 0.
+ // and set the status in byte 0.
byte *frame = bsb_rx_status_and_frame + 1;
// XXX: This might be executed too fast, so we can still be in TX_STATE_SENT