1
0
Fork 0
forked from len0rd/rockbox

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
This commit is contained in:
Linus Nielsen Feltzing 2003-12-15 08:54:05 +00:00
parent 5ad78889eb
commit c4e1bdf016
2 changed files with 1 additions and 1 deletions

View file

@ -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;

View file

@ -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();