We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 271dd7f commit 7422085Copy full SHA for 7422085
ci
src/platform/drivers/zynq_uart/zynq_uart.c
@@ -91,7 +91,7 @@ uint32_t uart_getc(volatile struct Uart_Zynq_hw* uart)
91
92
// Chose one of the following: (Trigger Level or Not Empty)
93
/* Wait until RxFIFO is filled up to the trigger level */
94
- while (!uart->ch_status & UART_CH_STATUS_RTRIG) { }
+ while (!(uart->ch_status & UART_CH_STATUS_RTRIG)) { }
95
/* Wait until RxFIFO is not empty */
96
// while(!uart->ch_status & UART_CH_STATUS_REMPTY) { }
97
0 commit comments