Added SNTP and start of data logging
This commit is contained in:
@@ -1,3 +1,12 @@
|
||||
#pragma once
|
||||
|
||||
#include <stdbool.h>
|
||||
// The idea with this function is to check if NTP time has been obtained
|
||||
// at least once - and therefore time is at least vaguely accurate
|
||||
// I want to call this when saving data to know whether the time is valid/trusted
|
||||
// at all
|
||||
bool has_ntp_time_obtained_once();
|
||||
|
||||
// Probably should rename this to "start networking" or something because
|
||||
// it also does NTP stuff, and maybe even establish the HTTP Server stuff?
|
||||
void start_wifi();
|
||||
|
||||
Reference in New Issue
Block a user