Fix trailing whitespace
This commit is contained in:
parent
250f068211
commit
1f2f0c433e
23 changed files with 547 additions and 548 deletions
|
@ -36,7 +36,7 @@ void max77620_rtc_get_time(rtc_time_t *time)
|
|||
time->min = i2c_recv_byte(I2C_5, MAX77620_RTC_I2C_ADDR, MAX77620_RTC_MIN_REG) & 0x7F;
|
||||
|
||||
time->hour = i2c_recv_byte(I2C_5, MAX77620_RTC_I2C_ADDR, MAX77620_RTC_HOUR_REG) & 0x1F;
|
||||
|
||||
|
||||
if (!(val & MAX77620_RTC_24H) && time->hour & MAX77620_RTC_HOUR_PM_MASK)
|
||||
time->hour = (time->hour & 0xF) + 12;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue