summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/plugins/video.c1
-rw-r--r--firmware/drivers/lcd.c1
2 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/video.c b/apps/plugins/video.c
index 617ada3..292b61a 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 f7fde50..b0a32f4 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();