a5e33b1c28
Previously, if the user tried to use `#define AUDIO_MAX_SIMULTANEOUS_TONES 1` to conserve CPU time, their firmware would fail to build with this error: ``` platforms/chibios/drivers/audio_dac_additive.c:91:73: error: excess elements in array initializer [-Werror] 91 | static float active_tones_snapshot[AUDIO_MAX_SIMULTANEOUS_TONES] = {0, 0}; | ^ ``` This also affected the preset `#define AUDIO_DAC_QUALITY_VERY_HIGH`, which called up only one simultaneous tone at 88200 Hz. |
||
---|---|---|
.. | ||
boards | ||
bootloaders | ||
converters | ||
drivers | ||
vendors/RP | ||
_pin_defs.h | ||
_timer.h | ||
_wait.c | ||
_wait.h | ||
atomic_util.h | ||
bootloader.mk | ||
chibios_config.h | ||
config.h | ||
flash.mk | ||
gd32v_compatibility.h | ||
gpio.h | ||
hardware_id.c | ||
mcu_selection.mk | ||
platform.c | ||
platform.mk | ||
platform_deps.h | ||
sleep_led.c | ||
suspend.c | ||
synchronization_util.c | ||
syscall-fallbacks.c | ||
timer.c | ||
wait.c |