Define portNOP in RP2040 port

This commit is contained in:
Ching-Hsin Lee 2024-02-27 18:38:29 +08:00
parent 7284d84dc8
commit b4cbb8a358

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" )