Move main UART RX callback to main.c

This commit is contained in:
jazzpi
2022-06-23 13:05:25 +02:00
parent 839a9a930a
commit e58b9ffae0
3 changed files with 11 additions and 2 deletions

View File

@ -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_ */