keychron_qmk_firmware/platforms
Nebuleon a5e33b1c28
Allow the user to select one tone for the additive DAC (#21591)
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.
2023-07-23 11:44:41 +01:00
..
arm_atsam Tidy up duplication of MIN/MAX fallback implementations (#20236) 2023-03-23 05:30:30 +00:00
avr backlight: split AVR PWM and timer drivers (#21540) 2023-07-21 09:27:55 +10:00
chibios Allow the user to select one tone for the additive DAC (#21591) 2023-07-23 11:44:41 +01:00
test [Core] Simplify audio_duration_to_ms() and audio_ms_to_duration(), reduce firmware size by a few bytes. (#21427) 2023-07-08 00:47:16 +10:00
atomic_util.h Fix quantum ring_buffer for ChibiOS (#19683) 2023-01-28 21:07:51 +00:00
bootloader.h
common.mk Eliminate TMK_COMMON_* in makefiles (#21517) 2023-07-15 17:27:32 +10:00
eeprom.h NVRAM refactor, phase 1. (#18969) 2022-11-23 08:50:19 +00:00
gpio.h
hardware_id.h
lv_conf.h [Core] Quantum Painter - LVGL Integration (#18499) 2022-12-13 07:51:14 +11:00
pin_defs.h
progmem.h
sleep_led.h
suspend.c
suspend.h
synchronization_util.c Fix build failures with OPT = 0 due to inline functions (#19767) 2023-02-12 17:14:34 +11:00
synchronization_util.h Fix build failures with OPT = 0 due to inline functions (#19767) 2023-02-12 17:14:34 +11:00
timer.c Fix build failures with OPT = 0 due to inline functions (#19767) 2023-02-12 17:14:34 +11:00
timer.h
wait.h