2026-02-10 03:16:00 +08:00
|
|
|
#include "ui/config_screen.h"
|
|
|
|
|
|
|
|
|
|
#include "esp_log.h"
|
|
|
|
|
|
|
|
|
|
static const char *TAG = "config_screen";
|
|
|
|
|
static bool s_active = false;
|
|
|
|
|
|
|
|
|
|
void config_screen_init(void)
|
|
|
|
|
{
|
2026-02-19 09:20:00 +08:00
|
|
|
s_active = false;
|
2026-02-10 03:16:00 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void config_screen_toggle(void)
|
|
|
|
|
{
|
2026-02-19 09:20:00 +08:00
|
|
|
s_active = !s_active;
|
|
|
|
|
ESP_LOGI(TAG, "Config screen is disabled (active=%s)", s_active ? "true" : "false");
|
2026-02-10 03:16:00 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
bool config_screen_is_active(void)
|
|
|
|
|
{
|
|
|
|
|
return s_active;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void config_screen_scroll_down(void)
|
|
|
|
|
{
|
2026-02-19 09:20:00 +08:00
|
|
|
if (s_active) {
|
|
|
|
|
ESP_LOGI(TAG, "Config screen scrolling is disabled");
|
2026-02-10 03:16:00 +08:00
|
|
|
}
|
|
|
|
|
}
|