Files
Ming Liu 13a8f56b46 plugins:rtc.c: drop some invalid condition checks
There are some invalid condition checks in rtc.c, when rtc_file is
missing, it should not consider that as a error and return, otherwise,
it can lead to the case that time_set wont be called at all.

With this fix, when both RTC and file restore fail, it will fall back
to call time_set(NULL) and restore time from rtc_timestamp, this
ensures the OS has a valid time at the very first boot.

Signed-off-by: Ming Liu <liu.ming50@gmail.com>
2025-10-14 15:38:56 +02:00
..
2025-07-22 15:46:46 +02:00
2025-07-10 14:34:16 +02:00
2025-07-10 14:34:16 +02:00
2025-07-10 14:34:16 +02:00
2025-07-10 14:34:16 +02:00
2025-07-10 14:34:16 +02:00
2025-07-10 14:34:16 +02:00
2025-07-10 14:34:16 +02:00
2025-07-10 14:34:16 +02:00
2025-07-10 14:34:16 +02:00
2025-07-10 14:34:16 +02:00
2025-07-10 14:34:16 +02:00
2025-07-10 14:34:16 +02:00