diff options
author | Linus Nielsen Feltzing <linus@haxx.se> | 2004-03-02 19:37:25 +0000 |
---|---|---|
committer | Linus Nielsen Feltzing <linus@haxx.se> | 2004-03-02 19:37:25 +0000 |
commit | f858697a8d078439bcfd1bb3e0d9f082fb586535 (patch) | |
tree | b49f49b2af4df67d407ddede227dc7fd4229f3fe /firmware | |
parent | 19480d51cdac6f386041257ba3eae25be05f9e09 (diff) | |
download | rockbox-f858697a8d078439bcfd1bb3e0d9f082fb586535.tar.gz rockbox-f858697a8d078439bcfd1bb3e0d9f082fb586535.zip |
Removed compiler warning
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4335 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware')
-rw-r--r-- | firmware/drivers/lcd.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/firmware/drivers/lcd.c b/firmware/drivers/lcd.c index fa072ac3f5..252652b29a 100644 --- a/firmware/drivers/lcd.c +++ b/firmware/drivers/lcd.c | |||
@@ -191,7 +191,6 @@ void lcd_write_data(unsigned char* p_bytes, int count) | |||
191 | unsigned int byte; | 191 | unsigned int byte; |
192 | unsigned int sda1; /* precalculated SC=low,SD=1 */ | 192 | unsigned int sda1; /* precalculated SC=low,SD=1 */ |
193 | unsigned int clk0sda0; /* precalculated SC and SD low */ | 193 | unsigned int clk0sda0; /* precalculated SC and SD low */ |
194 | unsigned int oldlevel; | ||
195 | 194 | ||
196 | byte = *p_bytes++ << 24; /* fetch to MSB position */ | 195 | byte = *p_bytes++ << 24; /* fetch to MSB position */ |
197 | 196 | ||
@@ -300,7 +299,6 @@ void lcd_write_data(unsigned char* p_bytes, int count) | |||
300 | { | 299 | { |
301 | unsigned byte; | 300 | unsigned byte; |
302 | unsigned sda1; /* precalculated SC=low,SD=1 */ | 301 | unsigned sda1; /* precalculated SC=low,SD=1 */ |
303 | unsigned int oldlevel; | ||
304 | 302 | ||
305 | /* take inverse data, so I can use the NEGC instruction below, it is | 303 | /* take inverse data, so I can use the NEGC instruction below, it is |
306 | the only carry add/sub which does not destroy a source register */ | 304 | the only carry add/sub which does not destroy a source register */ |