@@ -5,9 +5,7 @@ idf_component_register(SRCS
|
||||
"hal/u8g2_esp32_hal.c"
|
||||
INCLUDE_DIRS "."
|
||||
PRIV_REQUIRES
|
||||
bob
|
||||
insa
|
||||
ruth
|
||||
u8g2
|
||||
driver
|
||||
esp_timer
|
||||
|
@@ -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, []() {
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user