Change header
All checks were successful
ESP32 Build & Release / build (push) Successful in 1m14s

This commit is contained in:
2026-09-12 18:40:41 +02:00
parent 14b9e2195d
commit 3eeaf966db
3 changed files with 4 additions and 4 deletions

View File

@@ -1,5 +1,5 @@
/* /*
* MTG RFID Companion - System state machine (ponytail: atomic scalar state) * MTG RFID Companion - System state machine
*/ */
#include "app_state.h" #include "app_state.h"

View File

@@ -24,7 +24,7 @@ esp_err_t display_manager_init(void)
return ESP_OK; return ESP_OK;
} }
/* ponytail: native SPI bus init directly in display manager */ /* native SPI bus init directly in display manager */
spi_bus_config_t buscfg = { spi_bus_config_t buscfg = {
.sclk_io_num = HW_SPI_SCK_GPIO, .sclk_io_num = HW_SPI_SCK_GPIO,
.mosi_io_num = HW_SPI_MOSI_GPIO, .mosi_io_num = HW_SPI_MOSI_GPIO,

View File

@@ -260,7 +260,7 @@ static void ui_clean_screen(void)
lv_obj_set_style_bg_opa(lv_scr_act(), LV_OPA_COVER, 0); lv_obj_set_style_bg_opa(lv_scr_act(), LV_OPA_COVER, 0);
} }
/* ponytail: single shared header builder across all screens */ /* single shared header builder across all screens */
static void ui_draw_header(const char *title, const char *subtitle) static void ui_draw_header(const char *title, const char *subtitle)
{ {
lv_obj_t *bar = lv_obj_create(lv_scr_act()); lv_obj_t *bar = lv_obj_create(lv_scr_act());
@@ -292,7 +292,7 @@ static void view_menu(void)
encoder_set_steps_per_detent(4); encoder_set_steps_per_detent(4);
lvgl_port_lock(0); lvgl_port_lock(0);
ui_clean_screen(); ui_clean_screen();
ui_draw_header("MTG COMPANION"); ui_draw_header("MTG COMPANION","");
/* 8 Menu Items */ /* 8 Menu Items */
int start_y = 44; int start_y = 44;