timekeeper use syncprovider by Time.h
This commit is contained in:
1 parent
6ab4a0bd9f
commit
5fb4c7bec2
8 files changed
+23
-48
No files matched your search
@@ -5,15 +5,12 @@
|
||||
#include "senddata.h"
|
||||
#include "rcommand.h"
|
||||
#include "spislave.h"
|
||||
#include "timekeeper.h"
|
||||
#include <lmic.h>
|
||||
|
||||
#ifdef HAS_BME
|
||||
#include "bme680mems.h"
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
void doHousekeeping(void);
|
||||
uint64_t uptime(void);
|
||||
void reset_counters(void);
|
||||
|
||||
@@ -35,7 +35,4 @@ void lora_queuereset(void);
|
||||
void lora_housekeeping(void);
|
||||
void user_request_network_time_callback(void *pVoidUserUTCTime,
|
||||
int flagSuccess);
|
||||
time_t set_loratime(time_t t);
|
||||
time_t get_loratime(void);
|
||||
|
||||
#endif
|
||||
@@ -18,9 +18,9 @@ extern const char timeSetSymbols[];
|
||||
void IRAM_ATTR CLOCKIRQ(void);
|
||||
void clock_init(void);
|
||||
void clock_loop(void *pvParameters);
|
||||
void time_sync(void);
|
||||
time_t time_sync(void);
|
||||
void timepulse_start(void);
|
||||
uint8_t syncTime(getExternalTime getTimeFunction, timesource_t const caller);
|
||||
time_t syncTime(getExternalTime getTimeFunction, timesource_t const caller);
|
||||
uint8_t timepulse_init(void);
|
||||
uint8_t TimeIsValid(time_t const t);
|
||||
time_t syncProvider_CB(void);
|
||||
|
||||
Reference in new issue
Block a user