Skip to content

Commit da99222

Browse files
mattia-moffadanielinux
authored andcommitted
Don't always define DEBUG_UART; fix typo
1 parent 1ab85fe commit da99222

2 files changed

Lines changed: 1 addition & 5 deletions

File tree

hal/nrf54l.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,6 @@
3535
#include "hal/armv8m_tz.h"
3636
#endif
3737

38-
#ifndef DEBUG_UART
39-
#define DEBUG_UART 1
40-
#endif
41-
4238
/* UART */
4339

4440
#ifdef DEBUG_UART

hal/spi/spi_drv_nrf54l.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ void RAMFUNCTION spi_write(const char byte)
9696
;
9797
SPI_EVENTS_STOPPED = 0;
9898

99-
if (SPI_EVENTS_DMA_RX_BUSERROR == 0 && SPI_EVENTS_DMA_RX_BUSERROR == 0)
99+
if (SPI_EVENTS_DMA_RX_BUSERROR == 0 && SPI_EVENTS_DMA_TX_BUSERROR == 0)
100100
spi_rx_ready = 1;
101101
}
102102

0 commit comments

Comments
 (0)