mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 10:07:38 -04:00
misc: Fix up more gcc9 warnings
Change-Id: Ia2f763ca7494c6a93b48bdd347a91f3d1a967f29
This commit is contained in:
parent
b71fb1f12a
commit
d7d80a0c3a
1 changed files with 5 additions and 5 deletions
|
@ -67,13 +67,13 @@ int rtc_write_datetime(const struct tm *tm)
|
|||
/* Check whether the unit has been started by the RTC alarm function */
|
||||
bool rtc_check_alarm_started(bool release_alarm)
|
||||
{
|
||||
if (GSTATUS3)
|
||||
if (GSTATUS3)
|
||||
{
|
||||
GSTATUS3 &= ~release_alarm;
|
||||
GSTATUS3 &= ~release_alarm;
|
||||
return true;
|
||||
}
|
||||
else
|
||||
{
|
||||
}
|
||||
else
|
||||
{
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue