27 lines
476 B
C
27 lines
476 B
C
|
|
#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
|