mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-10-01 03:43:42 +08:00
update time from RTC on manager init (#20678)
* set time on manager init * earlier * handle exception * logging * add to release files * run in launch script too Co-authored-by: Comma Device <device@comma.ai>
This commit is contained in:
@@ -165,6 +165,9 @@ function launch {
|
||||
# Remove orphaned git lock if it exists on boot
|
||||
[ -f "$DIR/.git/index.lock" ] && rm -f $DIR/.git/index.lock
|
||||
|
||||
# Pull time from panda
|
||||
$DIR/selfdrive/boardd/set_time.py
|
||||
|
||||
# Check to see if there's a valid overlay-based update available. Conditions
|
||||
# are as follows:
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user