diff options
Diffstat (limited to 'firmware/export')
-rw-r--r-- | firmware/export/backlight.h | 3 | ||||
-rw-r--r-- | firmware/export/config-c200.h | 2 | ||||
-rw-r--r-- | firmware/export/config-cowond2.h | 2 | ||||
-rw-r--r-- | firmware/export/config-e200.h | 2 | ||||
-rw-r--r-- | firmware/export/config-h300.h | 3 | ||||
-rw-r--r-- | firmware/export/config-iaudiox5.h | 5 |
6 files changed, 13 insertions, 4 deletions
diff --git a/firmware/export/backlight.h b/firmware/export/backlight.h index a177fe740f..506a9f6b03 100644 --- a/firmware/export/backlight.h +++ b/firmware/export/backlight.h | |||
@@ -43,8 +43,6 @@ void backlight_set_fade_in(bool value); | |||
43 | void backlight_set_fade_out(bool value); | 43 | void backlight_set_fade_out(bool value); |
44 | #endif | 44 | #endif |
45 | 45 | ||
46 | extern int backlight_brightness; | ||
47 | |||
48 | void backlight_set_timeout_plugged(int value); | 46 | void backlight_set_timeout_plugged(int value); |
49 | 47 | ||
50 | #ifdef HAS_BUTTON_HOLD | 48 | #ifdef HAS_BUTTON_HOLD |
@@ -82,6 +80,7 @@ void sim_remote_backlight(int value); | |||
82 | #endif | 80 | #endif |
83 | 81 | ||
84 | #ifdef HAVE_BACKLIGHT_BRIGHTNESS | 82 | #ifdef HAVE_BACKLIGHT_BRIGHTNESS |
83 | extern int backlight_brightness; | ||
85 | void backlight_set_brightness(int val); | 84 | void backlight_set_brightness(int val); |
86 | #endif /* HAVE_BACKLIGHT_BRIGHTNESS */ | 85 | #endif /* HAVE_BACKLIGHT_BRIGHTNESS */ |
87 | 86 | ||
diff --git a/firmware/export/config-c200.h b/firmware/export/config-c200.h index 8e26585e94..e169606510 100644 --- a/firmware/export/config-c200.h +++ b/firmware/export/config-c200.h | |||
@@ -134,7 +134,9 @@ | |||
134 | 134 | ||
135 | /* define this if the backlight thread is used for fade, not for sim, needs | 135 | /* define this if the backlight thread is used for fade, not for sim, needs |
136 | * HAVE_BACKLIGHT_BRIGHTNESS */ | 136 | * HAVE_BACKLIGHT_BRIGHTNESS */ |
137 | #ifndef BOOTLOADER | ||
137 | #define USE_BACKLIGHT_SW_FADING | 138 | #define USE_BACKLIGHT_SW_FADING |
139 | #endif | ||
138 | 140 | ||
139 | /* Define this if you have a PortalPlayer PP5024 */ | 141 | /* Define this if you have a PortalPlayer PP5024 */ |
140 | #define CONFIG_CPU PP5022 | 142 | #define CONFIG_CPU PP5022 |
diff --git a/firmware/export/config-cowond2.h b/firmware/export/config-cowond2.h index b723201340..c6e4555f18 100644 --- a/firmware/export/config-cowond2.h +++ b/firmware/export/config-cowond2.h | |||
@@ -124,7 +124,9 @@ | |||
124 | 124 | ||
125 | /* define this if the backlight thread is used for fade, not for sim, needs | 125 | /* define this if the backlight thread is used for fade, not for sim, needs |
126 | * HAVE_BACKLIGHT_BRIGHTNESS */ | 126 | * HAVE_BACKLIGHT_BRIGHTNESS */ |
127 | #ifndef BOOTLOADER | ||
127 | #define USE_BACKLIGHT_SW_FADING | 128 | #define USE_BACKLIGHT_SW_FADING |
129 | #endif | ||
128 | 130 | ||
129 | /* Define this if you have a TCC7801 */ | 131 | /* Define this if you have a TCC7801 */ |
130 | #define CONFIG_CPU TCC7801 | 132 | #define CONFIG_CPU TCC7801 |
diff --git a/firmware/export/config-e200.h b/firmware/export/config-e200.h index d9bebef9bc..3cae14cc87 100644 --- a/firmware/export/config-e200.h +++ b/firmware/export/config-e200.h | |||
@@ -131,7 +131,9 @@ | |||
131 | 131 | ||
132 | /* define this if the backlight thread is used for fade, not for sim, needs | 132 | /* define this if the backlight thread is used for fade, not for sim, needs |
133 | * HAVE_BACKLIGHT_BRIGHTNESS */ | 133 | * HAVE_BACKLIGHT_BRIGHTNESS */ |
134 | #ifndef BOOTLOADER | ||
134 | #define USE_BACKLIGHT_SW_FADING | 135 | #define USE_BACKLIGHT_SW_FADING |
136 | #endif | ||
135 | 137 | ||
136 | /* Define this if you have a PortalPlayer PP5024 */ | 138 | /* Define this if you have a PortalPlayer PP5024 */ |
137 | #define CONFIG_CPU PP5024 | 139 | #define CONFIG_CPU PP5024 |
diff --git a/firmware/export/config-h300.h b/firmware/export/config-h300.h index 2af426f048..680ca91245 100644 --- a/firmware/export/config-h300.h +++ b/firmware/export/config-h300.h | |||
@@ -116,8 +116,9 @@ | |||
116 | 116 | ||
117 | /* define this if the backlight thread is used for fade, not for sim, needs | 117 | /* define this if the backlight thread is used for fade, not for sim, needs |
118 | * HAVE_BACKLIGHT_BRIGHTNESS */ | 118 | * HAVE_BACKLIGHT_BRIGHTNESS */ |
119 | #ifndef BOOTLOADER | ||
119 | #define USE_BACKLIGHT_SW_FADING | 120 | #define USE_BACKLIGHT_SW_FADING |
120 | 121 | #endif | |
121 | 122 | ||
122 | /* Define this if your LCD can be enabled/disabled */ | 123 | /* Define this if your LCD can be enabled/disabled */ |
123 | #define HAVE_LCD_ENABLE | 124 | #define HAVE_LCD_ENABLE |
diff --git a/firmware/export/config-iaudiox5.h b/firmware/export/config-iaudiox5.h index 089d219534..03b84606c9 100644 --- a/firmware/export/config-iaudiox5.h +++ b/firmware/export/config-iaudiox5.h | |||
@@ -124,8 +124,11 @@ | |||
124 | 124 | ||
125 | #ifndef SIMULATOR | 125 | #ifndef SIMULATOR |
126 | 126 | ||
127 | /* define this if the backlight thread is used for fade, not for sim */ | 127 | /* define this if the backlight thread is used for fade, not for sim, needs |
128 | * HAVE_BACKLIGHT_BRIGHTNESS */ | ||
129 | #ifndef BOOTLOADER | ||
128 | #define USE_BACKLIGHT_SW_FADING | 130 | #define USE_BACKLIGHT_SW_FADING |
131 | #endif | ||
129 | 132 | ||
130 | /* Define this if your LCD can set contrast */ | 133 | /* Define this if your LCD can set contrast */ |
131 | #define HAVE_LCD_CONTRAST | 134 | #define HAVE_LCD_CONTRAST |