Explorar o código

Kernel: Don't assert if RTC believes we're in the past

Jean-Baptiste Boric %!s(int64=4) %!d(string=hai) anos
pai
achega
eedb6480df
Modificáronse 1 ficheiros con 0 adicións e 2 borrados
  1. 0 2
      Kernel/RTC.cpp

+ 0 - 2
Kernel/RTC.cpp

@@ -102,8 +102,6 @@ time_t now()
 
     klog() << "RTC: Year: " << year << ", month: " << month << ", day: " << day << ", hour: " << hour << ", minute: " << minute << ", second: " << second;
 
-    ASSERT(year >= 2018);
-
     time_t days_since_epoch = years_to_days_since_epoch(year) + day_of_year(year, month, day);
     return ((days_since_epoch * 24 + hour) * 60 + minute) * 60 + second;
 }