Skip to content

Can't trust RTCs to tell the time.#7779

Merged
thebentern merged 1 commit into
meshtastic:developfrom
fifieldt:RTC-no-time-for-me
Aug 29, 2025
Merged

Can't trust RTCs to tell the time.#7779
thebentern merged 1 commit into
meshtastic:developfrom
fifieldt:RTC-no-time-for-me

Conversation

@fifieldt

Copy link
Copy Markdown
Member

Further to #7772 , we discovered that some RTCs have hard-coded start times well in the past.

This patch gives RTCs the same treatment as GPS - if the time is earlier than BUILD_EPOCH, we don't use it.

Fixes #7771
Fixes #7750

@fifieldt fifieldt marked this pull request as draft August 28, 2025 23:34
Further to meshtastic#7772 ,
we discovered that some RTCs have hard-coded start times well in the
past.

This patch gives RTCs the same treatment as GPS - if the time is
earlier than BUILD_EPOCH, we don't use it.

Fixes meshtastic#7771
Fixes meshtastic#7750
@fifieldt fifieldt force-pushed the RTC-no-time-for-me branch from c2bd742 to 36b4cf3 Compare August 28, 2025 23:36
@fifieldt fifieldt marked this pull request as ready for review August 29, 2025 09:58
@fifieldt fifieldt added the bugfix Pull request that fixes bugs label Aug 29, 2025
@thebentern thebentern merged commit 10c6836 into meshtastic:develop Aug 29, 2025
70 of 72 checks passed
thebentern pushed a commit that referenced this pull request Aug 29, 2025
Further to #7772 ,
we discovered that some RTCs have hard-coded start times well in the
past.

This patch gives RTCs the same treatment as GPS - if the time is
earlier than BUILD_EPOCH, we don't use it.

Fixes #7771
Fixes #7750
alexl83 pushed a commit to alexl83/firmware that referenced this pull request Sep 2, 2025
Further to meshtastic#7772 ,
we discovered that some RTCs have hard-coded start times well in the
past.

This patch gives RTCs the same treatment as GPS - if the time is
earlier than BUILD_EPOCH, we don't use it.

Fixes meshtastic#7771
Fixes meshtastic#7750
mehow pushed a commit to mehow/meshtastic-firmware that referenced this pull request Sep 5, 2025
Further to meshtastic#7772 ,
we discovered that some RTCs have hard-coded start times well in the
past.

This patch gives RTCs the same treatment as GPS - if the time is
earlier than BUILD_EPOCH, we don't use it.

Fixes meshtastic#7771
Fixes meshtastic#7750
pkoryzna pushed a commit to pkoryzna/meshtastic-firmware-why2025-carrier that referenced this pull request Sep 13, 2025
Further to meshtastic#7772 ,
we discovered that some RTCs have hard-coded start times well in the
past.

This patch gives RTCs the same treatment as GPS - if the time is
earlier than BUILD_EPOCH, we don't use it.

Fixes meshtastic#7771
Fixes meshtastic#7750
jeek pushed a commit to jeek/Meshtastic-Exploiteers-Hacker-Pager that referenced this pull request Jun 30, 2026
Further to meshtastic#7772 ,
we discovered that some RTCs have hard-coded start times well in the
past.

This patch gives RTCs the same treatment as GPS - if the time is
earlier than BUILD_EPOCH, we don't use it.

Fixes meshtastic#7771
Fixes meshtastic#7750
jeek pushed a commit to jeek/Meshtastic-Exploiteers-Hacker-Pager that referenced this pull request Jun 30, 2026
Further to meshtastic#7772 ,
we discovered that some RTCs have hard-coded start times well in the
past.

This patch gives RTCs the same treatment as GPS - if the time is
earlier than BUILD_EPOCH, we don't use it.

Fixes meshtastic#7771
Fixes meshtastic#7750
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bugfix Pull request that fixes bugs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: T-Lora Pager thinks that it's 2005 [Bug]: Rak WisMesh Tag time set to 21 May 2019

2 participants