#pragma once #include #include "model.h" #define MSG_UPDATE_BOARD 1 #define MSG_UPDATE_LINE 2 #define MSG_UPDATE_CONFIG 4 void msg_init(void (*on_update)(uint8_t mask)); void msg_request_refresh(Page page); void msg_request_line(const char *stop_id, const char *line, const char *dest); void msg_request_fav_toggle(const char *stop_id, const char *stop_name);