diff options
author | Linus Nielsen Feltzing <linus@haxx.se> | 2003-12-15 08:54:05 +0000 |
---|---|---|
committer | Linus Nielsen Feltzing <linus@haxx.se> | 2003-12-15 08:54:05 +0000 |
commit | c4e1bdf0163d2f04d4f8577050f8cc23638e9490 (patch) | |
tree | 553881861879560edf246e510b37b115c559cb3d | |
parent | 5ad78889eb96e1db0eeea054824fb25c0b7303ce (diff) | |
download | rockbox-c4e1bdf0163d2f04d4f8577050f8cc23638e9490.tar.gz rockbox-c4e1bdf0163d2f04d4f8577050f8cc23638e9490.zip |
Now correctly informs gcc that r0 is clobbered in lcd_write_data(). The video LED bug is now dead and buried.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4147 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r-- | apps/plugins/video.c | 1 | ||||
-rw-r--r-- | firmware/drivers/lcd.c | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/video.c b/apps/plugins/video.c index 617ada327c..292b61a69c 100644 --- a/apps/plugins/video.c +++ b/apps/plugins/video.c @@ -158,7 +158,6 @@ int main(char* filename) } rb->close(fd); - and_b(~0x40, &PBDRL); /* hack workaround to get the LED off */ if (shown == SYS_USB_CONNECTED) /* exception */ return PLUGIN_USB_CONNECTED; diff --git a/firmware/drivers/lcd.c b/firmware/drivers/lcd.c index f7fde506e3..b0a32f4819 100644 --- a/firmware/drivers/lcd.c +++ b/firmware/drivers/lcd.c @@ -280,6 +280,7 @@ void lcd_write_data(unsigned char* p_bytes, int count) /* %3 */ "r"(clk0sda0), /* %4 */ "r"(LCDR), /* %5 */ "I"(LCD_CS|LCD_DS|LCD_SD|LCD_SC) + : "r0" ); sti(); |