Fixes #1848
This commit is contained in:
bsongis
2014-11-19 22:35:57 +01:00
parent a690352100
commit b46b049ba3
+1 -1
View File
@@ -20,7 +20,7 @@
#include <CoOS.h>
#define OsSchedLock() OSSchedLock++; /*!< Lock schedule */
#define OsSchedLock() { OSSchedLock++; asm volatile ("" : : : "memory"); } /*!< Lock schedule */
extern void OsSchedUnlock(void);
#endif