Define portNOP in RP2040 port (#1003)

This commit is contained in:
chinglee-iot
2024-03-06 16:24:19 +08:00
committed by GitHub
parent 30f6061f48
commit d95451d924

View File

@@ -278,7 +278,7 @@ static inline void vPortRecursiveLock( uint32_t ulLockNum,
#define portTASK_FUNCTION_PROTO( vFunction, pvParameters ) void vFunction( void * pvParameters )
#define portTASK_FUNCTION( vFunction, pvParameters ) void vFunction( void * pvParameters )
#define portNOP()
#define portNOP() __asm volatile ( "nop" )
#define portMEMORY_BARRIER() __asm volatile ( "" ::: "memory" )