From dcd73ce821a0f37e71305e0d0d1b33382d5919d4 Mon Sep 17 00:00:00 2001
From: schneider <schneider@blinkenlichts.net>
Date: Fri, 24 Jan 2020 21:45:13 +0100
Subject: [PATCH] chore(rtc): make linter happy

---
 epicardium/modules/hardware.c | 8 ++------
 lib/card10/card10.c           | 8 ++------
 2 files changed, 4 insertions(+), 12 deletions(-)

diff --git a/epicardium/modules/hardware.c b/epicardium/modules/hardware.c
index 013df5a43..cda6a09a2 100644
--- a/epicardium/modules/hardware.c
+++ b/epicardium/modules/hardware.c
@@ -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 */
diff --git a/lib/card10/card10.c b/lib/card10/card10.c
index ef1b0f71c..5eeb26005 100644
--- a/lib/card10/card10.c
+++ b/lib/card10/card10.c
@@ -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) {
-- 
GitLab