mirror of https://github.com/meshcore-dev/MeshCore
Browse Source
ESP32's internal RTC drifts during light sleep due to the 150kHz RC oscillator. When the device clock runs ahead, the previous logic rejected correct time from mobile because "clock cannot go backwards". This prevented fixing drifted clocks. Removed the forward-only restriction from both `clock sync` and `time` commands to allow syncing to the correct time regardless of direction.pull/1326/head
1 changed files with 8 additions and 18 deletions
Loading…
Reference in new issue