as3525: Fix build warning with newer toolchains

Change-Id: I3dad32caf0dc087b717ed76b900f414aa1608bc2
This commit is contained in:
Solomon Peachy 2025-09-09 10:02:51 -04:00
parent 01a62372ff
commit c6db7114f8

View file

@ -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 */