Skip to content

Commit 6398489

Browse files
committed
Remove unnecessary warning in stdio to CMSIS UART retarget implementation
1 parent cb6b5bd commit 6398489

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

source/core/stdio_cmsis_uart.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,8 @@ void UART_Event_Callback(uint32_t event) {
119119
UART_StdInBuf.flags |= UART_FLAG_RX_ERROR;
120120
}
121121
}
122+
#else
123+
(void)event;
122124
#endif
123125
}
124126

0 commit comments

Comments
 (0)