From 9f10829ad18bfb299d0fd29b84860b0d5b7edd11 Mon Sep 17 00:00:00 2001 From: Michael Spang Date: Fri, 14 Aug 2020 18:46:32 -0400 Subject: [PATCH] Fix logic error in FreeRTOSNewlibLockSupport_test.c 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 :( --- .../nrf528xx/app/support/FreeRTOSNewlibLockSupport_test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/platform/nrf528xx/app/support/FreeRTOSNewlibLockSupport_test.c b/examples/platform/nrf528xx/app/support/FreeRTOSNewlibLockSupport_test.c index b04b2afc730330..15652cf3950d93 100644 --- a/examples/platform/nrf528xx/app/support/FreeRTOSNewlibLockSupport_test.c +++ b/examples/platform/nrf528xx/app/support/FreeRTOSNewlibLockSupport_test.c @@ -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);