Skip to content

Commit

Permalink
Move rtc gettime in while loop
Browse files Browse the repository at this point in the history
  • Loading branch information
Anol Paisal committed Jun 10, 2019
1 parent d94747e commit 0e05fea
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/boards/SKiM980A/rtc-board.c
Original file line number Diff line number Diff line change
Expand Up @@ -484,9 +484,6 @@ static uint64_t RtcGetCalendarValue( RTC_DateTypeDef* date, RTC_TimeTypeDef* tim
uint32_t correction;
uint32_t seconds;

// Get Time and Date
HAL_RTC_GetTime( &RtcHandle, time, RTC_FORMAT_BIN );

// Make sure it is correct due to asynchronus nature of RTC
do
{
Expand Down

0 comments on commit 0e05fea

Please sign in to comment.