Skip to content

Commit

Permalink
Fix logic error in FreeRTOSNewlibLockSupport_test.c (#2185)
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 authored Aug 17, 2020
1 parent e70aa55 commit 0955773
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 0955773

Please sign in to comment.