diff options
author | Bertrik Sikken <bertrik@sikken.nl> | 2010-11-24 22:17:23 +0000 |
---|---|---|
committer | Bertrik Sikken <bertrik@sikken.nl> | 2010-11-24 22:17:23 +0000 |
commit | 26c36d9ac3cd04aac66eb73773f5875a2e71efc0 (patch) | |
tree | 54b29e9089b01744d4eea8394301be0ccc3ce4d6 /firmware/export | |
parent | 70bbbcdf92c880d8fd0ca84fa612ede7c7021c00 (diff) |
Sansa c200/c200v2: limit allowable contrast value to 0-127, it wraps at 128.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28662 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export')
-rw-r--r-- | firmware/export/config/sansac200.h | 2 | ||||
-rw-r--r-- | firmware/export/config/sansac200v2.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/firmware/export/config/sansac200.h b/firmware/export/config/sansac200.h index 18456203bb..74d3d94b78 100644 --- a/firmware/export/config/sansac200.h +++ b/firmware/export/config/sansac200.h @@ -76,7 +76,7 @@ #define HAVE_LCD_CONTRAST #define MIN_CONTRAST_SETTING 0 -#define MAX_CONTRAST_SETTING 255 +#define MAX_CONTRAST_SETTING 127 #define DEFAULT_CONTRAST_SETTING 85 /* #define IRAM_LCDFRAMEBUFFER IDATA_ATTR *//* put the lcd frame buffer in IRAM */ diff --git a/firmware/export/config/sansac200v2.h b/firmware/export/config/sansac200v2.h index a87d1543a3..4223d41b92 100644 --- a/firmware/export/config/sansac200v2.h +++ b/firmware/export/config/sansac200v2.h @@ -71,7 +71,7 @@ #define HAVE_LCD_CONTRAST #define MIN_CONTRAST_SETTING 0 -#define MAX_CONTRAST_SETTING 255 +#define MAX_CONTRAST_SETTING 127 #define DEFAULT_CONTRAST_SETTING 85 #if 0 /* not enough room for a 16 bits framebuffer */ |