There was an error while loading. Please reload this page.
1 parent 30f6061 commit d95451dCopy full SHA for d95451d
portable/ThirdParty/GCC/RP2040/include/portmacro.h
@@ -278,7 +278,7 @@ static inline void vPortRecursiveLock( uint32_t ulLockNum,
278
#define portTASK_FUNCTION_PROTO( vFunction, pvParameters ) void vFunction( void * pvParameters )
279
#define portTASK_FUNCTION( vFunction, pvParameters ) void vFunction( void * pvParameters )
280
281
-#define portNOP()
+#define portNOP() __asm volatile ( "nop" )
282
283
#define portMEMORY_BARRIER() __asm volatile ( "" ::: "memory" )
284
0 commit comments