Fix assert statement
This commit is contained in:
parent
c97ef10267
commit
cf461bfa1d
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue