Skip to content

Commit

Permalink
Fix logic error in FreeRTOSNewlibLockSupport_test.c
Browse files Browse the repository at this point in the history
This tries to release a freed lock due to a typo. It seems the updated
firmware image didn't get flashed when validating the previous change :(
  • Loading branch information
mspang committed Aug 16, 2020
1 parent d3d568b commit 9f10829
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ void freertos_newlib_lock_test()
__lock_acquire_recursive(dynamic_lock_recursive);
acquired = __lock_try_acquire_recursive(dynamic_lock_recursive);
ASSERT(acquired);
__lock_release_recursive(dynamic_lock);
__lock_release_recursive(dynamic_lock_recursive);
acquired = __lock_try_acquire_recursive(dynamic_lock_recursive);
ASSERT(acquired);
__lock_release_recursive(dynamic_lock_recursive);
Expand Down

0 comments on commit 9f10829

Please sign in to comment.