Fixes #1848
This commit is contained in:
Damjan Adamic
2015-02-20 19:01:42 +01:00
committed by bsongis
parent 25e5f2ef81
commit 6bf0418520
+1 -1
View File
@@ -43,7 +43,7 @@
#include <CoOS.h>
#define OsSchedLock() OSSchedLock++; /*!< Lock schedule */
#define OsSchedLock() { OSSchedLock++; asm volatile ("" : : : "memory"); } /*!< Lock schedule */
extern void OsSchedUnlock(void);
#endif