diff options
Diffstat (limited to 'testhal')
-rw-r--r-- | testhal/STM32/UART/main.c | 20 |
1 files changed, 17 insertions, 3 deletions
diff --git a/testhal/STM32/UART/main.c b/testhal/STM32/UART/main.c index 1683c9774..5e6b9b413 100644 --- a/testhal/STM32/UART/main.c +++ b/testhal/STM32/UART/main.c @@ -28,12 +28,26 @@ static void txend2(void) { }
+static void rxerr(uartflags_t e) {
+
+ (void)e;
+}
+
+static void rxchar(uint16_t c) {
+
+ (void)c;
+}
+
+static void rxend(void) {
+
+}
+
static UARTConfig uart_cfg_1 = {
txend1,
txend2,
- NULL,
- NULL,
- NULL,
+ rxend,
+ rxchar,
+ rxerr,
38400,
0,
USART_CR2_LINEN,
|