Commit dcd73ce8 authored by schneider's avatar schneider
Browse files

chore(rtc): make linter happy

parent c44b742b
......@@ -84,12 +84,8 @@ int hardware_early_init(void)
PB_Init();
/* Enable 32 kHz output */
while (RTC_SquareWave(
MXC_RTC,
SQUARE_WAVE_ENABLED,
F_32KHZ,
NULL) == E_BUSY
)
while (RTC_SquareWave(MXC_RTC, SQUARE_WAVE_ENABLED, F_32KHZ, NULL) ==
E_BUSY)
;
/* If we don't have a valid time yet, set it to 2019-01-01 */
......
......@@ -60,12 +60,8 @@ void card10_init(void)
TMR_Delay(MXC_TMR0, MSEC(1000), 0);
// Enable 32 kHz output
while (RTC_SquareWave(
MXC_RTC,
SQUARE_WAVE_ENABLED,
F_32KHZ,
NULL) == E_BUSY
)
while (RTC_SquareWave(MXC_RTC, SQUARE_WAVE_ENABLED, F_32KHZ, NULL) ==
E_BUSY)
;
/* If we don't have a valid time yet, set it to 2019-01-01 */
if (RTC_GetSecond() < 1546300800L) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment