Skip to content

Commit e35f13a

Browse files
peterharperukdpgeorge
authored andcommitted
rp2/pendsv: Fix variable typo in assert so it compiles.
Fixes issue micropython#15276. Signed-off-by: Peter Harper <[email protected]>
1 parent f60c71d commit e35f13a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ports/rp2/pendsv.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ void PendSV_Handler(void) {
8484
return;
8585
}
8686
// Core 0 should not already have locked pendsv_mutex
87-
assert(pensv_mutex.enter_count == 1);
87+
assert(pendsv_mutex.enter_count == 1);
8888

8989
#if MICROPY_PY_NETWORK_CYW43
9090
CYW43_STAT_INC(PENDSV_RUN_COUNT);

0 commit comments

Comments
 (0)