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