From 26c36d9ac3cd04aac66eb73773f5875a2e71efc0 Mon Sep 17 00:00:00 2001 From: Bertrik Sikken Date: Wed, 24 Nov 2010 22:17:23 +0000 Subject: 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 --- firmware/export/config/sansac200.h | 2 +- firmware/export/config/sansac200v2.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'firmware/export') 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 */ -- cgit v1.2.3