summaryrefslogtreecommitdiff
path: root/firmware/target/mips/ingenic_jz47xx/onda_vx767/lcd-onda_vx767.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target/mips/ingenic_jz47xx/onda_vx767/lcd-onda_vx767.c')
-rw-r--r--firmware/target/mips/ingenic_jz47xx/onda_vx767/lcd-onda_vx767.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/target/mips/ingenic_jz47xx/onda_vx767/lcd-onda_vx767.c b/firmware/target/mips/ingenic_jz47xx/onda_vx767/lcd-onda_vx767.c
index a91e041184..b3cc6980e1 100644
--- a/firmware/target/mips/ingenic_jz47xx/onda_vx767/lcd-onda_vx767.c
+++ b/firmware/target/mips/ingenic_jz47xx/onda_vx767/lcd-onda_vx767.c
@@ -37,7 +37,7 @@ do { \
} while (0)
-#define SLEEP(x) for(i=0; i<x; i++) asm("nop"); asm("nop");
+#define SLEEP(x) for(i=0; i<x; i++) asm volatile("nop\n nop\n");
#define DELAY SLEEP(700000);
static void _display_pin_init(void)
{