code cleanup

Signed-off-by: Peter Siegmund <developer@mars3142.org>
This commit is contained in:
2025-06-20 21:21:06 +02:00
parent 54080bfd9d
commit 26723db8d8
19 changed files with 50 additions and 316 deletions

View File

@@ -5,9 +5,7 @@ idf_component_register(SRCS
"hal/u8g2_esp32_hal.c"
INCLUDE_DIRS "."
PRIV_REQUIRES
bob
insa
ruth
u8g2
driver
esp_timer

View File

@@ -99,7 +99,6 @@ static void init_ui(void)
.pushScreen = [](const std::shared_ptr<Widget> &screen) { pushScreen(screen); },
.popScreen = []() { popScreen(); },
.onButtonClicked = nullptr,
.persistence = nullptr,
};
m_widget = std::make_shared<SplashScreen>(&options);
m_inactivityTracker = std::make_unique<InactivityTracker>(60000, []() {

View File

@@ -1,5 +1,4 @@
#include "app_task.h"
#include "bob.h"
#include "freertos/FreeRTOS.h"
#include "sdkconfig.h"
@@ -9,8 +8,6 @@ extern "C"
#endif
void app_main(void)
{
bob_init();
xTaskCreatePinnedToCore(app_task, "main_loop", 4096, NULL, tskIDLE_PRIORITY + 1, NULL, portNUM_PROCESSORS - 1);
}
#ifdef __cplusplus