feat/rtc-pcf8523 #3

Merged
reptil1990 merged 10 commits from feat/rtc-pcf8523 into main 2026-05-03 16:28:05 +02:00
Owner

Implement RTC and add NEU label

Implement RTC and add NEU label
reptil1990 added 10 commits 2026-05-03 16:27:59 +02:00
New header rtcsync.h providing persistent time storage and offline
fallback when NTP is unavailable. Soft-fails when hardware is absent.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Ten tasks covering dependency setup, header creation, weak-hook
decoupling from timesync.h, master.cpp wiring, and hardware
verification on real device.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
- Drop extern "C" from weak hooks (UB with C++ reference param)
- syncTimeWithNTP returns bool; syncFromNTP uses it (robust success check)
- Avoid duplicate NTP sync at boot (wificlass already syncs)
- Clamp negative time deltas in 24h timer and JSON status
- Cache rtc.now() in loopRTC to avoid I2C race with PN532
glow für neue Zeit
Some checks failed
/ build (push) Failing after 4m11s
3400b9cc6a
reptil1990 merged commit f558c64886 into main 2026-05-03 16:28:05 +02:00
Sign in to join this conversation.