-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathKConfig
More file actions
50 lines (40 loc) · 1.54 KB
/
KConfig
File metadata and controls
50 lines (40 loc) · 1.54 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
mainmenu "SPLed"
source ".venv/Lib/site-packages/spl_core/config/KConfig"
menu "Features"
config BLINKING
bool "Blinking Feature"
default n
choice BRIGHTNESS_ADJUSTMENT
depends on !BLINKING
prompt "Select brightness adjustment mode"
config BRIGHTNESS_ADJUSTMENT_MANUAL
bool "Manually adjustable"
config BRIGHTNESS_ADJUSTMENT_AUTOMATIC
bool "Automatically adjustable"
endchoice
config BRIGHTNESS_ADJUSTMENT_ENABLED
# Internal config. Not visible for the user in the menuconfig.
bool
default y if BRIGHTNESS_ADJUSTMENT_MANUAL || BRIGHTNESS_ADJUSTMENT_AUTOMATIC
config BRIGHTNESS_ADJUSTMENT_PERIOD
int "Brightness Adjustment Period (in seconds)"
depends on BRIGHTNESS_ADJUSTMENT_AUTOMATIC
default 5
range 1 60
help
This option allows you to set the period for brightness adjustment.
The value is in seconds and can be set between 1 and 60 seconds.
config AUTO_OFF
bool "Auto Off Feature"
default n
config AUTO_OFF_PERIOD_SECONDS
int "Auto Off Period (in seconds)"
depends on AUTO_OFF
default 3600
range 5 7200
help
This option allows you to set the period for the auto off feature.
The value is in seconds and can be set between 5 and 7200 seconds.
source "components/os/KConfig"
source "components/light_controller/KConfig"
endmenu