Skip to content

Commit

Permalink
feat: add null check
Browse files Browse the repository at this point in the history
  • Loading branch information
wjsan committed Oct 30, 2023
1 parent ea98596 commit 13acc97
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions main/infra/idf/ciot_ntp.c
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ ciot_err_t ciot_ntp_start(ciot_ntp_t this, ciot_ntp_cfg_t *cfg)

ciot_err_t ciot_ntp_stop(ciot_ntp_t this)
{
CIOT_NULL_CHECK(this);
esp_sntp_stop();
return CIOT_OK;
}
Expand Down

0 comments on commit 13acc97

Please sign in to comment.