mirror of
https://github.com/No-Chicken/Power-Pico.git
synced 2026-04-03 13:02:36 +08:00
加入快充诱骗调压逻辑
This commit is contained in:
@@ -8,39 +8,14 @@
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#include "lvgl.h"
|
||||
|
||||
#include "stdio.h"
|
||||
|
||||
#include "lvgl.h"
|
||||
#include "./common/lv_lib_pm.h"
|
||||
#include "./common/lv_lib_animation.h"
|
||||
#include "./ui_helpers.h"
|
||||
|
||||
void ui_init(void);
|
||||
|
||||
///////////////////// help funtions ////////////////////
|
||||
|
||||
void ui_full_screen_refresh(lv_obj_t * screen);
|
||||
|
||||
///////////// interface for system settings ////////////
|
||||
|
||||
// get functions
|
||||
|
||||
void ui_GetElapsedTime_HMS(uint8_t *hours, uint8_t *minutes, uint8_t *seconds);
|
||||
uint8_t ui_get_back_light_level(void);
|
||||
bool ui_get_key_sound_enable(void);
|
||||
uint16_t ui_get_display_rotation(void);
|
||||
float ui_get_voltage(void);
|
||||
float ui_get_current(void);
|
||||
|
||||
// set functions
|
||||
|
||||
void ui_set_back_light_level(uint8_t level);
|
||||
void ui_set_key_sound_enable(bool enable);
|
||||
void ui_set_display_rotation(uint16_t rotation);
|
||||
|
||||
// sys save function
|
||||
void ui_system_settings_save(void);
|
||||
|
||||
// FONTS
|
||||
LV_FONT_DECLARE(ui_font_HeiTi32);
|
||||
LV_FONT_DECLARE(ui_font_HeiTi48);
|
||||
|
||||
Reference in New Issue
Block a user