diff options
Diffstat (limited to 'apps/settings.h')
-rw-r--r-- | apps/settings.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/apps/settings.h b/apps/settings.h index 7378f1daeb..870d9efdd7 100644 --- a/apps/settings.h +++ b/apps/settings.h | |||
@@ -381,6 +381,10 @@ struct user_settings | |||
381 | #ifdef HAVE_REMOTE_LCD | 381 | #ifdef HAVE_REMOTE_LCD |
382 | unsigned char rwps_file[MAX_FILENAME+1]; /* last remote-wps */ | 382 | unsigned char rwps_file[MAX_FILENAME+1]; /* last remote-wps */ |
383 | #endif | 383 | #endif |
384 | #ifdef HAVE_BACKLIGHT_BRIGHTNESS | ||
385 | int brightness; /* iriver h300: backlight PWM value: 2..15 | ||
386 | (0 and 1 are black) */ | ||
387 | #endif | ||
384 | }; | 388 | }; |
385 | 389 | ||
386 | enum optiontype { INT, BOOL }; | 390 | enum optiontype { INT, BOOL }; |
@@ -442,6 +446,11 @@ extern const char rec_base_directory[]; | |||
442 | #endif | 446 | #endif |
443 | #define MIN_CONTRAST_SETTING 5 | 447 | #define MIN_CONTRAST_SETTING 5 |
444 | 448 | ||
449 | #ifdef HAVE_BACKLIGHT_BRIGHTNESS | ||
450 | #define MIN_BRIGHTNESS_SETTING 2 | ||
451 | #define MAX_BRIGHTNESS_SETTING 15 | ||
452 | #endif | ||
453 | |||
445 | /* argument bits for settings_load() */ | 454 | /* argument bits for settings_load() */ |
446 | #define SETTINGS_RTC 1 /* only the settings from the RTC nonvolatile RAM */ | 455 | #define SETTINGS_RTC 1 /* only the settings from the RTC nonvolatile RAM */ |
447 | #define SETTINGS_HD 2 /* only the settings fron the disk sector */ | 456 | #define SETTINGS_HD 2 /* only the settings fron the disk sector */ |