fixes that made it work
This commit is contained in:
26
components/user_app/user_app.h
Normal file
26
components/user_app/user_app.h
Normal file
@@ -0,0 +1,26 @@
|
||||
#pragma once
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Initialize hardware peripherals (I2C, sensors, ADC, buttons, codec, alerts).
|
||||
* Called early in boot, before UI.
|
||||
*/
|
||||
void UserApp_AppInit(void);
|
||||
|
||||
/**
|
||||
* Create the dashboard UI. Must be called with LVGL lock held.
|
||||
*/
|
||||
void UserApp_UiInit(void);
|
||||
|
||||
/**
|
||||
* Start background tasks (WS client, sensor polling, button handling).
|
||||
* Called after UI is created.
|
||||
*/
|
||||
void UserApp_TaskInit(void);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
Reference in New Issue
Block a user