mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 10:07:38 -04:00
as3525: Fix build warning with newer toolchains
Change-Id: I3dad32caf0dc087b717ed76b900f414aa1608bc2
This commit is contained in:
parent
01a62372ff
commit
c6db7114f8
1 changed files with 5 additions and 1 deletions
|
@ -13,7 +13,11 @@ STARTUP(target/arm/crt0.o)
|
|||
/* End of the audio buffer, where the codec buffer starts */
|
||||
#define ENDAUDIOADDR (DRAM_ORIG + DRAMSIZE)
|
||||
|
||||
#define CODEC_BUFFER_FILLS_IRAM defined(AMS_LOWMEM) || (CONFIG_CPU == AS3525v2)
|
||||
#if defined(AMS_LOWMEM) || (CONFIG_CPU == AS3525v2)
|
||||
#define CODEC_BUFFER_FILLS_IRAM 1
|
||||
#else
|
||||
#define CODEC_BUFFER_FILLS_IRAM 0
|
||||
#endif
|
||||
|
||||
#if CODEC_BUFFER_FILLS_IRAM
|
||||
/* Entire codec buffer in IRAM */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue