clock time handling modifications (still experimental)
This commit is contained in:
1 parent
42971b60cd
commit
1ac176075a
8 files changed
+161
-153
No files matched your search
@@ -102,7 +102,6 @@ extern uint16_t volatile macs_total, macs_wifi, macs_ble,
|
||||
batt_voltage; // display values
|
||||
extern hw_timer_t *sendCycle, *displaytimer;
|
||||
extern SemaphoreHandle_t I2Caccess, TimePulse;
|
||||
extern bool volatile BitsPending;
|
||||
|
||||
extern std::set<uint16_t, std::less<uint16_t>, Mallocator<uint16_t>> macs;
|
||||
extern std::array<uint64_t, 0xff>::iterator it;
|
||||
|
||||
+2
-1
@@ -13,6 +13,7 @@ extern RtcDS3231<TwoWire> Rtc; // make RTC instance globally available
|
||||
|
||||
extern TaskHandle_t ClockTask;
|
||||
extern hw_timer_t *clockCycle;
|
||||
extern bool volatile TimePulseTick;
|
||||
|
||||
int rtc_init(void);
|
||||
int set_rtctime(uint32_t t);
|
||||
@@ -23,6 +24,6 @@ float get_rtctemp(void);
|
||||
void IRAM_ATTR CLOCKIRQ();
|
||||
int timepulse_init(uint32_t pps_freq);
|
||||
void timepulse_start();
|
||||
time_t sync_clock(time_t t);
|
||||
void sync_clock(void);
|
||||
|
||||
#endif // _RTCTIME_H
|
||||
Reference in new issue
Block a user