diff options
Diffstat (limited to 'firmware/export/buffer.h')
| -rw-r--r-- | firmware/export/buffer.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/firmware/export/buffer.h b/firmware/export/buffer.h index 4c80471..ae8886b 100644 --- a/firmware/export/buffer.h +++ b/firmware/export/buffer.h @@ -23,10 +23,10 @@ #include "config.h" /* defined in linker script */ -#ifdef SIMULATOR -extern unsigned char *audiobufend; -#else +#if (CONFIG_PLATFORM & PLATFORM_NATIVE) extern unsigned char audiobufend[]; +#else +extern unsigned char *audiobufend; #endif extern unsigned char *audiobuf; |