Use an event flag group for GUI updates

This commit is contained in:
2023-03-20 15:36:59 +01:00
parent 41dbfa73ee
commit f0254b92ee
12 changed files with 28 additions and 66 deletions

View File

@ -43,8 +43,10 @@ extern "C" {
/* USER CODE BEGIN EC */
extern volatile int ltdc_cb_triggered;
extern TX_QUEUE gui_button_queue;
extern TX_QUEUE vehicle_update_queue;
extern TX_EVENT_FLAGS_GROUP gui_update_events;
extern FDCAN_HandleTypeDef hfdcan1;
#define GUI_UPDATE_VEHICLE_STATE (1 << 0)
/* USER CODE END EC */
/* Exported macro ------------------------------------------------------------*/