Skip to content

Commit f203867

Browse files
aggargchinglee-iot
andauthored
Update GCC/RP2350_ARM_NTZ/non_secure/port.c
Co-authored-by: chinglee-iot <[email protected]>
1 parent 3fbc162 commit f203867

File tree

1 file changed

+1
-1
lines changed
  • GCC/RP2350_ARM_NTZ/non_secure

1 file changed

+1
-1
lines changed

GCC/RP2350_ARM_NTZ/non_secure/port.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -867,7 +867,7 @@ static void prvTaskExitError( void )
867867
* should instead call vTaskDelete( NULL ). Artificially force an assert()
868868
* to be triggered if configASSERT() is defined, then stop here so
869869
* application writers can catch the error. */
870-
configASSERT( portGET_CRITICAL_NESTING_COUNT( 0 ) == ~0UL );
870+
configASSERT( portGET_CRITICAL_NESTING_COUNT( portGET_CORE_ID() ) == ~0UL );
871871
portDISABLE_INTERRUPTS();
872872

873873
while( ulDummy == 0 )

0 commit comments

Comments
 (0)