From ff151d1568b48f44190d5939c84c68db366c77f7 Mon Sep 17 00:00:00 2001 From: Kaspar Schleiser Date: Tue, 6 Sep 2016 17:59:25 +0200 Subject: [PATCH] boards: remote-common: fancy_leds.h asm -> __asm__ --- boards/remote-common/include/fancy_leds.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/boards/remote-common/include/fancy_leds.h b/boards/remote-common/include/fancy_leds.h index d152f8a010..4cc0752802 100644 --- a/boards/remote-common/include/fancy_leds.h +++ b/boards/remote-common/include/fancy_leds.h @@ -42,11 +42,11 @@ j = k > 400 ? 800 - k : k; \ led##_ON; \ for(i = 0; i < j; ++i) { \ - asm("nop"); \ + __asm__("nop"); \ } \ led##_OFF; \ for(i = 0; i < 400 - j; ++i) { \ - asm("nop"); \ + __asm__("nop"); \ } \ }