From 53d2a8f95cc6c3c5d94f01b0d095663fc8c8d353 Mon Sep 17 00:00:00 2001 From: Jon Shallow Date: Sat, 6 Dec 2025 09:50:16 +0000 Subject: [PATCH] multi-threading: Fix no_recursive_check issue --- include/coap3/coap_threadsafe_internal.h | 1 - 1 file changed, 1 deletion(-) diff --git a/include/coap3/coap_threadsafe_internal.h b/include/coap3/coap_threadsafe_internal.h index 00334020..b49fd207 100644 --- a/include/coap3/coap_threadsafe_internal.h +++ b/include/coap3/coap_threadsafe_internal.h @@ -355,7 +355,6 @@ int coap_lock_lock_func(void); #define coap_lock_callback_ret(r,c,func) do { \ coap_lock_check_locked(c); \ global_lock.in_callback++; \ - global_lock.in_callback++; \ (r) = func; \ global_lock.in_callback--; \ } while (0)