init rtc twice to be sure to read current time
This commit is contained in:
@@ -3253,6 +3253,11 @@ inline void open9xInit(OPEN9X_INIT_ARGS)
|
|||||||
eeDirty(EE_GENERAL);
|
eeDirty(EE_GENERAL);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
#if defined(PCBARM)
|
||||||
|
rtc_init();
|
||||||
|
CoTickDelay(10); // 20ms
|
||||||
|
rtc_init();
|
||||||
|
#endif
|
||||||
|
|
||||||
lcdSetContrast();
|
lcdSetContrast();
|
||||||
backlightOn();
|
backlightOn();
|
||||||
|
|||||||
Reference in New Issue
Block a user