Skip to content

Skip Date Check#180

Open
msentesy wants to merge 4 commits intoBogGyver:tesla_unity_devfrom
msentesy:tesla_unity_dev
Open

Skip Date Check#180
msentesy wants to merge 4 commits intoBogGyver:tesla_unity_devfrom
msentesy:tesla_unity_dev

Conversation

@msentesy
Copy link
Copy Markdown

@msentesy msentesy commented Nov 9, 2022

Allows a rebooted EON to run even if the date is incorrect. Prevents need to connect to network upon restarting.

Better to put it on a menu toggle.

selfdrive\thermald\thermald.py
line 335:

Ensure date/time are valid

now = datetime.datetime.utcnow()
startup_conditions["time_valid"] = (now.year > 2020) or (now.year == 2020 and now.month >= 10)

Change prev. line to:
startup_conditions["time_valid"] = (now.year > 1020) or (now.year == 1020 and now.month >= 10)

BogGyver and others added 4 commits November 8, 2022 15:38
Allows a rebooted EON to run even if the date is incorrect. Prevents need to connect to network upon restarting.
@BogGyver BogGyver force-pushed the tesla_unity_dev branch 2 times, most recently from 5b6f4ee to 3cdda9d Compare November 12, 2022 05:56
@BogGyver BogGyver force-pushed the tesla_unity_dev branch 3 times, most recently from 74f481f to 68bf8e7 Compare November 18, 2022 02:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants