Rockbox open source high quality audio player as a Music Player Daemon
mpris rockbox mpd libadwaita audio rust zig deno
2
fork

Configure Feed

Select the types of activity you want to include in your feed.

pdf50606: Fix questionable code that GCC9 complains about

Instead of:

bool &= ~bool;

do this:

bool &= !bool;

Change-Id: I815f56c98596d6c58390e843a1e3290d3525db72

+2 -2
+2 -2
firmware/drivers/rtc/rtc_pcf50606.c
··· 57 57 tm->tm_mday = buf[4]; 58 58 tm->tm_mon = buf[5] - 1; 59 59 60 - #ifdef IRIVER_H300_SERIES 60 + #ifdef IRIVER_H300_SERIES 61 61 /* Special kludge to coexist with the iriver firmware. The iriver firmware 62 62 stores the date as 1965+nn, and allows a range of 1980..2064. We use 63 63 1964+nn here to make leap years work correctly, so the date will be one ··· 158 158 159 159 if (run_before) { 160 160 rc = alarm_state; 161 - alarm_state &= ~release_alarm; 161 + alarm_state &= !release_alarm; 162 162 } else { 163 163 char rt[3], at[3]; 164 164 /* The Ipod bootloader seems to read (and thus clear) the PCF interrupt