diff options
author | Fredrik Thulin <fredrik@thulin.net> | 2016-06-01 21:03:05 +0200 |
---|---|---|
committer | Fredrik Thulin <fredrik@thulin.net> | 2016-06-01 21:03:05 +0200 |
commit | 9915d1ba46e30990ea149c7a09d1d2ed0d13a331 (patch) | |
tree | 160f184c1dfc8548de8c6293a5d16376c65ab6ec /projects/hsm | |
parent | 2d08b2038a5cf14a92d8ca3e10fb3421e73e5b74 (diff) |
Implement circular buffer UART RX using interrupts.
Diffstat (limited to 'projects/hsm')
-rw-r--r-- | projects/hsm/main.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/projects/hsm/main.c b/projects/hsm/main.c index ed93aed..2508f07 100644 --- a/projects/hsm/main.c +++ b/projects/hsm/main.c @@ -198,13 +198,6 @@ void HAL_UART_RxCpltCallback(UART_HandleTypeDef *huart) HAL_UART_Receive_IT(huart, &c, 1); } -/* UART interrupt handler. This eventually calls HAL_UART_RxCpltCallback. - */ -void USART2_IRQHandler(void) -{ - HAL_UART_IRQHandler(&huart_user); -} - /* The main thread. After the system setup, it waits for the RPC-request * semaphore from HAL_UART_RxCpltCallback, and spawns a dispatch thread. */ |