From ade254c586d4a7edbca6a5d17b02bd5e62f7ba35 Mon Sep 17 00:00:00 2001
From: Roman Khlopkov <roman.khlopkov@demlabs.net>
Date: Fri, 8 May 2020 14:19:47 +0300
Subject: [PATCH] [+] Stub for interval timer for MacOS

---
 dap-sdk/core/src/dap_common.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dap-sdk/core/src/dap_common.c b/dap-sdk/core/src/dap_common.c
index 11b631e93a..9283705682 100755
--- a/dap-sdk/core/src/dap_common.c
+++ b/dap-sdk/core/src/dap_common.c
@@ -873,7 +873,7 @@ void *dap_interval_timer_create(unsigned int a_msec, dap_timer_callback_t a_call
     l_period.it_interval.tv_nsec = l_period.it_value.tv_nsec = (a_msec % 1000) * 1000000;
     timer_settime(l_timer, 0, &l_period, NULL);
     pthread_mutex_lock(&s_timers_lock);
-#esle
+#else
     //DARWIN
 #endif
     s_timers[s_timers_count].timer = (void *)l_timer;
-- 
GitLab