From 7f45538eb53235ab4015fcf13533796c8759c7bc Mon Sep 17 00:00:00 2001 From: Finlay Davidson Date: Mon, 9 May 2022 17:16:08 +0200 Subject: Apply clang-format to all C++ files --- src/components/alarm/AlarmController.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/components/alarm') diff --git a/src/components/alarm/AlarmController.cpp b/src/components/alarm/AlarmController.cpp index 11d96e7a..d4122737 100644 --- a/src/components/alarm/AlarmController.cpp +++ b/src/components/alarm/AlarmController.cpp @@ -54,8 +54,7 @@ void AlarmController::ScheduleAlarm() { auto now = dateTimeController.CurrentDateTime(); alarmTime = now; - time_t ttAlarmTime = std::chrono::system_clock::to_time_t( - std::chrono::time_point_cast(alarmTime)); + time_t ttAlarmTime = std::chrono::system_clock::to_time_t(std::chrono::time_point_cast(alarmTime)); tm* tmAlarmTime = std::localtime(&ttAlarmTime); // If the time being set has already passed today,the alarm should be set for tomorrow -- cgit v1.2.3-70-g09d2