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.

Tie NVRAM CRC to NVRAM_BLOCK_SIZE

by tying initial to NVRAM_BLOCK_SIZE we get automatic invalidation when the
system_status struct changes

Change-Id: Icd8fad14bdd31dddd609833830c939d5560feeb1

authored by

William Wilgus and committed by
William Wilgus
af859acf 4e271642

+1 -1
+1 -1
apps/settings.c
··· 146 146 147 147 static unsigned int nvram_crc(char *buf, int max_len) 148 148 { 149 - return crc_32(&buf[NVRAM_DATA_START], max_len - NVRAM_DATA_START - 1, 0xffffffff); 149 + return crc_32(&buf[NVRAM_DATA_START], max_len - NVRAM_DATA_START - 1, NVRAM_BLOCK_SIZE); 150 150 } 151 151 152 152 static void read_nvram_data(void)