#include "../Inc/ui_controller.h" void Set_New_ButtonMain_Label(const char* new_label_text){ g_idle_add(update_ButtonMain_label, g_strdup(new_label_text)); } void Set_New_LableCurrentPressure(const char* new_label_text){ g_idle_add(update_LableCurrentPressure, g_strdup(new_label_text)); } void Set_New_LableSensorPressure(const char* new_label_text){ g_idle_add(update_LableSensorPressure, g_strdup(new_label_text)); } void Set_Color_ButtonMain_red(){ g_idle_add(set_Color_ButtonMain_red, g_strdup(NULL)); } void Set_Color_ButtonMain_green(){ g_idle_add(set_Color_ButtonMain_green, g_strdup(NULL)); } void Set_Color_ButtonMain_white(){ g_idle_add(set_Color_ButtonMain_white, g_strdup(NULL)); } void Update_Error_Table(uint8_t error_code){ g_idle_add(update_Error_Table, GINT_TO_POINTER(error_code)); }