From 4cec8bcc30ed93136a0378f55bed55c34d89644f Mon Sep 17 00:00:00 2001 From: Willem Melching Date: Sat, 30 May 2020 10:31:40 -0700 Subject: [PATCH] Fix indentation in board.cc --- selfdrive/boardd/boardd.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/selfdrive/boardd/boardd.cc b/selfdrive/boardd/boardd.cc index b1674818cc..ad6363440f 100644 --- a/selfdrive/boardd/boardd.cc +++ b/selfdrive/boardd/boardd.cc @@ -241,7 +241,7 @@ bool usb_connect() { //printf("RTC: %d-%d-%d\t%d:%d:%d\n", rtc_time.year, rtc_time.month, rtc_time.day, rtc_time.hour, rtc_time.minute, rtc_time.second); // Update system time from RTC if it looks off, and RTC time is good - if (1900 + sys_time.tm_year < 2019 && rtc_time.year >= 2019){ + if (1900 + sys_time.tm_year < 2019 && rtc_time.year >= 2019){ LOGE("System time wrong, setting from RTC"); struct tm new_time = { 0 }; @@ -599,7 +599,7 @@ void *can_send_thread(void *crap) { can_send(sm["sendcan"]); } } - + return NULL; }