mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-05-12 13:18:35 -07:00
- serice:
renamed function and variable
- settings:
add test value 5 sec for auto_power_off timer
*DESKTOP*
- settings|service
add USB_inhibit for desktop_auto_lock
(dont autolock desktop with different condition)
PS. RPC condition now working now.
16 lines
281 B
C
16 lines
281 B
C
#pragma once
|
|
|
|
#include <stdint.h>
|
|
|
|
typedef struct {
|
|
uint32_t auto_poweroff_delay_ms;
|
|
} PowerSettings;
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
void power_settings_load(PowerSettings* settings);
|
|
void power_settings_save(const PowerSettings* settings);
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif |