From f64d16919fce22aca488030e48253671fb795381 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 60a31f6d..b13e233c 100644 --- a/include/coap3/coap_threadsafe_internal.h +++ b/include/coap3/coap_threadsafe_internal.h @@ -351,7 +351,6 @@ int coap_lock_lock_func(void); #define coap_lock_callback_ret(r,func) do { \ coap_lock_check_locked(); \ global_lock.in_callback++; \ - global_lock.in_callback++; \ (r) = func; \ global_lock.in_callback--; \ } while (0)