Move main UART RX callback to main.c
This commit is contained in:
@ -11,6 +11,7 @@
|
||||
#include "common_defs.h"
|
||||
|
||||
#include "stm32f4xx_hal.h"
|
||||
#include "stm32f4xx_hal_uart.h"
|
||||
|
||||
extern volatile uint16_t temperatures[N_CELLS];
|
||||
|
||||
@ -42,4 +43,6 @@ HAL_StatusTypeDef tmp144_read_temps();
|
||||
HAL_StatusTypeDef tmp144_send_read_temps(TMP144Bus* bus);
|
||||
HAL_StatusTypeDef tmp144_recv_temps(TMP144Bus* bus);
|
||||
|
||||
void tmp144_handle_rx_cplt(UART_HandleTypeDef* handle);
|
||||
|
||||
#endif /* INC_TMP144_H_ */
|
||||
|
||||
Reference in New Issue
Block a user