Skip to content

Commit b99e858

Browse files
author
Daniel Jäckle
committed
Remove trailing blanks.
1 parent 2fb46c2 commit b99e858

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

src/boards/LoRaMote/rtc-board.c

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -279,16 +279,16 @@ TimerTime_t RtcComputeElapsedTime( TimerTime_t eventInTime )
279279

280280
HAL_RTC_GetTime( &RtcHandle, &timeRtc, RTC_FORMAT_BIN );
281281
HAL_RTC_GetDate( &RtcHandle, &dateRtc, RTC_FORMAT_BIN );
282-
282+
283283
/* Get the Current time in Milisecond */
284284
currentTimeMs = ( ( ( dateRtc.Date * SecondsInDay ) +
285285
( timeRtc.Hours * SecondsInHour ) +
286286
( timeRtc.Minutes * SecondsInMinute ) +
287287
timeRtc.Seconds ) );
288288

289289
currentTimeMs = round( currentTimeMs * RTC_ALARM_TICK_DURATION );
290-
291-
if( eventInTime == 0 ) //Needed at boot, cannot compute with 0 or elapsed time will be equal to current time
290+
291+
if( eventInTime == 0 ) //Needed at boot, cannot compute with 0 or elapsed time will be equal to current time
292292
{
293293
return 0;
294294
}
@@ -301,9 +301,9 @@ TimerTime_t RtcComputeElapsedTime( TimerTime_t eventInTime )
301301
}
302302
else
303303
{
304-
lastMonth = dateRtc.Month - 1;
304+
lastMonth = dateRtc.Month - 1;
305305
}
306-
306+
307307
// compute from eventInTime to roll over and add currentTimeMs
308308
if( lastMonth != MONTH_FEBRUARY )
309309
{
@@ -555,7 +555,7 @@ void BlockLowPowerDuringTask( bool status )
555555
static uint8_t RtcComputeMonthOverflow( uint8_t timeoutInDays, uint8_t year, uint8_t month )
556556
{
557557
uint8_t timeout = 0;
558-
558+
559559
if( month != MONTH_FEBRUARY )
560560
{
561561
switch( month )

src/boards/LoRaMote/rtc-board.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ TimerTime_t RtcGetTimerValue( void );
7575
uint32_t RtcGetElapsedAlarmTime( void );
7676

7777
/*!
78-
* \brief Compute the timeout time of a future event in time
78+
* \brief Compute the timeout time of a future event in time
7979
*
8080
* \param[IN] futureEventInTime value in time
8181
* \retval time between now and the futureEventInTime

0 commit comments

Comments
 (0)