You've already forked TEF6686_ESP32
embed rtc driver, not sure if its that exact but should be better infact
This commit is contained in:
@@ -3,14 +3,14 @@
|
||||
#include <ctime>
|
||||
#include "constants.h"
|
||||
#include <ESP32Time.h>
|
||||
#include <RX8010SJ.h>
|
||||
#include <Wire.h>
|
||||
|
||||
extern bool rtcset;
|
||||
extern bool NTPupdated;
|
||||
|
||||
extern ESP32Time rtc;
|
||||
extern bool rx_rtc_avail;
|
||||
extern RX8010SJ::Adapter rx_rtc;
|
||||
|
||||
bool init_rtc();
|
||||
void sync_from_rx_rtc(int32_t offset = 0);
|
||||
void set_time(time_t time);
|
||||
Reference in New Issue
Block a user