Fix screen stack popping and add a menu
This commit is contained in:
@@ -182,6 +182,8 @@ ReturnCode RtcDriver::set_time(const Common::WallClockTime &wall_time)
|
||||
RTC->TR = time;
|
||||
|
||||
CLR(RTC->ISR, RTC_ISR_INIT);
|
||||
while ((RTC->ISR & RTC_ISR_INITF)) {}
|
||||
while (!(RTC->ISR & RTC_ISR_RSF)) {}
|
||||
|
||||
disable_rtc_write();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user