mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-09 13:12:37 -05:00
misc: Clean up a large pile of -Wexpansion-to-defined warnings
And re-enable the warning (applies with GCC 7+) Change-Id: I406ce796ebd06bad53cab911e17a28265a79b420
This commit is contained in:
parent
6fc87143df
commit
c7eda36341
7 changed files with 21 additions and 18 deletions
|
|
@ -458,7 +458,7 @@ static void thread(void)
|
|||
bat[buf_idx].flags = charge_state();
|
||||
#endif
|
||||
buf_idx++;
|
||||
#if USING_STORAGE_CALLBACK
|
||||
#ifdef USING_STORAGE_CALLBACK
|
||||
rb->register_storage_idle_func(flush_buffer);
|
||||
#endif
|
||||
}
|
||||
|
|
@ -497,7 +497,7 @@ static void thread(void)
|
|||
}
|
||||
}
|
||||
|
||||
#if USING_STORAGE_CALLBACK
|
||||
#ifdef USING_STORAGE_CALLBACK
|
||||
/* unregister flush callback and flush to disk */
|
||||
rb->unregister_storage_idle_func(flush_buffer, true);
|
||||
#else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue