embed rtc driver, not sure if its that exact but should be better infact

This commit is contained in:
2026-01-15 23:35:47 +01:00
parent 2f24be697d
commit a3f1c194ba
14 changed files with 185 additions and 2036 deletions

View File

@@ -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);