refactor: remove runtime display and led interactions

Signed-off-by: Bo <boironic@gmail.com>
This commit is contained in:
Bo
2026-02-19 09:20:00 +08:00
parent 9c889ef3f2
commit ba28c5e60f
4 changed files with 7 additions and 147 deletions

View File

@@ -2,8 +2,6 @@
#include "mimi_config.h"
#include "bus/message_bus.h"
#include "proxy/http_proxy.h"
#include "display/display.h"
#include "ui/config_screen.h"
#include <string.h>
#include <stdlib.h>
@@ -258,13 +256,6 @@ static void process_updates(const char *json_str)
ESP_LOGI(TAG, "Message from chat %s: %.40s...", chat_id_str, text->valuestring);
if (config_screen_is_active()) {
config_screen_toggle();
}
char title[48];
snprintf(title, sizeof(title), "TG IN %s", chat_id_str);
display_show_message_card(title, text->valuestring);
/* Push to inbound bus */
mimi_msg_t msg = {0};
strncpy(msg.channel, MIMI_CHAN_TELEGRAM, sizeof(msg.channel) - 1);