From cf461bfa1dded86c8b1e19df6efee71a2c4c613b Mon Sep 17 00:00:00 2001 From: Rutger Huijgen Date: Mon, 20 Apr 2020 08:26:55 +0200 Subject: [PATCH] Fix assert statement --- extras/sntp/sntp_fun.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extras/sntp/sntp_fun.c b/extras/sntp/sntp_fun.c index b4210ec..12e986f 100644 --- a/extras/sntp/sntp_fun.c +++ b/extras/sntp/sntp_fun.c @@ -68,7 +68,7 @@ void sntp_initialize(const struct timezone *tz) { cal = 1; tim_ref = TIMER_COUNT; sntp_sem = xSemaphoreCreateMutex(); - assert(sntp_sem == NULL); + assert(sntp_sem != NULL); sntp_init(); }