From 28e46ddb9ce0a14ef5e90d87f8f949144d1a616c Mon Sep 17 00:00:00 2001 From: GOB Date: Fri, 6 Mar 2026 03:14:38 +0900 Subject: [PATCH] Cosmetic change --- test/embedded/test_pcf8563/pcf8563_test.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/test/embedded/test_pcf8563/pcf8563_test.cpp b/test/embedded/test_pcf8563/pcf8563_test.cpp index 088c642..92985f9 100644 --- a/test/embedded/test_pcf8563/pcf8563_test.cpp +++ b/test/embedded/test_pcf8563/pcf8563_test.cpp @@ -875,7 +875,7 @@ TEST_F(TestPCF8563, CompatAlarmTimeOnly) { SCOPED_TRACE("setAlarmIRQ time-only"); m5::rtc_time_t at = {9, 15, -1}; - int result = unit->setAlarmIRQ(at); + int result = unit->setAlarmIRQ(at); EXPECT_EQ(result, 1); pcf8563::rtc_time_t rt{}; @@ -896,7 +896,7 @@ TEST_F(TestPCF8563, CompatAlarmTimeOnly) { SCOPED_TRACE("setAlarmIRQ time-only all disabled"); m5::rtc_time_t at = {-1, -1, -1}; - int result = unit->setAlarmIRQ(at); + int result = unit->setAlarmIRQ(at); EXPECT_EQ(result, 0); bool aie{}; @@ -921,7 +921,8 @@ TEST_F(TestPCF8563, CompatSetSystemTime) unit->setSystemTimeFromRtc(nullptr); // Verify system time is close to what we wrote - struct timeval tv {}; + struct timeval tv { + }; gettimeofday(&tv, nullptr); struct tm* t = gmtime(&tv.tv_sec);