Fix assert statement

This commit is contained in:
Rutger Huijgen 2020-04-20 08:26:55 +02:00
parent c97ef10267
commit cf461bfa1d

View file

@ -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();
}