rp2/pendsv: Fix variable typo in assert so it compiles.

Fixes issue #15276.

Signed-off-by: Peter Harper <peter.harper@raspberrypi.com>
This commit is contained in:
Peter Harper 2024-06-13 17:22:23 +01:00 committed by Damien George
parent f60c71d131
commit e35f13a22d

View file

@ -84,7 +84,7 @@ void PendSV_Handler(void) {
return; return;
} }
// Core 0 should not already have locked pendsv_mutex // Core 0 should not already have locked pendsv_mutex
assert(pensv_mutex.enter_count == 1); assert(pendsv_mutex.enter_count == 1);
#if MICROPY_PY_NETWORK_CYW43 #if MICROPY_PY_NETWORK_CYW43
CYW43_STAT_INC(PENDSV_RUN_COUNT); CYW43_STAT_INC(PENDSV_RUN_COUNT);