Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: WS281X.cpp
- Revision:
- 18:d2d14429f7ab
- Parent:
- 17:55c563d45bfa
- Child:
- 19:48ac403f172f
--- a/WS281X.cpp	Tue Aug 23 19:59:05 2016 +0000
+++ b/WS281X.cpp	Tue Aug 23 20:25:18 2016 +0000
@@ -139,7 +139,7 @@
 }
 
 //#define _nop1()     __nop()
-#define _nop1()     __asm__("nop")
+#define _nop1()     asm volatile ("nop")
 #define _nop2()     _nop1(); _nop1()
 #define _nop3()     _nop1(); _nop2()
 #define _nop4()     _nop2(); _nop2()