diff options
author | Solomon Peachy <pizza@shaftnet.org> | 2020-10-03 18:17:11 -0400 |
---|---|---|
committer | Solomon Peachy <pizza@shaftnet.org> | 2020-10-09 12:41:18 -0400 |
commit | aabc8aca47e60cf745a34af28c50679fcb967910 (patch) | |
tree | cfe17f546aae9785fb13482f39527e2da0597ccb /firmware/target/hosted/backlight-target.h | |
parent | 4231c2c83f2b5331e3e38b10a308ee3752315f9c (diff) | |
download | rockbox-aabc8aca47e60cf745a34af28c50679fcb967910.tar.gz rockbox-aabc8aca47e60cf745a34af28c50679fcb967910.zip |
New port: FiiO M3K
Most credit goes to: Roman Skylarov
Additional integration and refactoring by myself.
*** COMPLETELY UNTESTED ***
Change-Id: Ia64c36d92e0214c6b15f7a868df286f8113ea27b
Diffstat (limited to 'firmware/target/hosted/backlight-target.h')
-rw-r--r-- | firmware/target/hosted/backlight-target.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/firmware/target/hosted/backlight-target.h b/firmware/target/hosted/backlight-target.h index e3b8a7bd78..261af09d72 100644 --- a/firmware/target/hosted/backlight-target.h +++ b/firmware/target/hosted/backlight-target.h | |||
@@ -21,16 +21,20 @@ | |||
21 | #ifndef _BACKLIGHT_TARGET_H_ | 21 | #ifndef _BACKLIGHT_TARGET_H_ |
22 | #define _BACKLIGHT_TARGET_H_ | 22 | #define _BACKLIGHT_TARGET_H_ |
23 | 23 | ||
24 | |||
25 | #include <stdbool.h> | 24 | #include <stdbool.h> |
26 | 25 | ||
27 | |||
28 | /* See backlight.c */ | 26 | /* See backlight.c */ |
29 | bool backlight_hw_init(void); | 27 | bool backlight_hw_init(void); |
30 | void backlight_hw_on(void); | 28 | void backlight_hw_on(void); |
31 | void backlight_hw_off(void); | 29 | void backlight_hw_off(void); |
32 | void backlight_hw_brightness(int brightness); | 30 | void backlight_hw_brightness(int brightness); |
33 | 31 | ||
34 | 32 | #ifdef HAVE_BUTTON_LIGHT | |
33 | void buttonlight_hw_on(void); | ||
34 | void buttonlight_hw_off(void); | ||
35 | #ifdef HAVE_BUTTONLIGHT_BRIGHTNESS | ||
36 | void buttonlight_hw_brightness(int brightness); | ||
37 | #endif | ||
35 | #endif | 38 | #endif |
36 | 39 | ||
40 | #endif | ||