keychron_qmk_firmware/platforms/chibios/drivers
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
..
eeprom NVRAM refactor, phase 1. (#18969) 2022-11-23 08:50:19 +00:00
flash NVRAM refactor, phase 1. (#18969) 2022-11-23 08:50:19 +00:00
ps2 [Bug] Fix compilation issues with PS/2 driver on F4x1 controllers (#20433) 2023-04-12 21:43:27 -07:00
vendor/RP/RP2040 drivers: remove direct quantum.h includes (#21473) 2023-07-09 20:03:50 +10:00
wear_leveling Fixup EFL and F4's sector selection. (#19221) 2022-12-02 21:55:28 +11:00
analog.c analog.c: Fix pinToMux() for STM32F0xx (#19658) 2023-01-25 01:47:55 +00:00
analog.h analog.[ch]: remove unnecessary includes (#16471) 2022-03-04 14:56:59 +11:00
audio_dac_additive.c Allow the user to select one tone for the additive DAC (#21591) 2023-07-23 11:44:41 +01:00
audio_dac_basic.c quantum: remove direct quantum.h includes (#21507) 2023-07-16 23:42:56 +10:00
audio_dac.h Move Audio drivers from quantum to platform drivers folder (#14308) 2021-10-06 12:01:45 +11:00
audio_pwm_hardware.c quantum: remove direct quantum.h includes (#21507) 2023-07-16 23:42:56 +10:00
audio_pwm_software.c quantum: remove direct quantum.h includes (#21507) 2023-07-16 23:42:56 +10:00
audio_pwm.h Move Audio drivers from quantum to platform drivers folder (#14308) 2021-10-06 12:01:45 +11:00
backlight_pwm.c Relocate backlight drivers (#21444) 2023-07-08 23:13:10 +10:00
backlight_timer.c Relocate backlight drivers (#21444) 2023-07-08 23:13:10 +10:00
i2c_master.c drivers: remove direct quantum.h includes (#21473) 2023-07-09 20:03:50 +10:00
i2c_master.h Tidy up existing i2c_master implementations (#15376) 2021-12-02 14:32:31 +00:00
serial_protocol.c drivers: remove direct quantum.h includes (#21473) 2023-07-09 20:03:50 +10:00
serial_protocol.h [Core] Split ChibiOS usart split driver in protocol and hardware driver part (#16669) 2022-06-18 08:04:17 +10:00
serial_usart.c drivers: remove direct quantum.h includes (#21473) 2023-07-09 20:03:50 +10:00
serial_usart.h drivers: remove direct quantum.h includes (#21473) 2023-07-09 20:03:50 +10:00
serial.c drivers: remove direct quantum.h includes (#21473) 2023-07-09 20:03:50 +10:00
spi_master.c Post-bootloader EFL/SPI fixes. (#17661) 2022-07-14 00:41:08 +10:00
spi_master.h Refactor use of _STM32_ defines (#14439) 2021-09-15 11:19:51 +10:00
uart.c drivers: remove direct quantum.h includes (#21473) 2023-07-09 20:03:50 +10:00
uart.h drivers: remove direct quantum.h includes (#21473) 2023-07-09 20:03:50 +10:00
usbpd_stm32g4.c usbpd_stm32g4: Configure UCPD before disabling the dead battery mode (#21430) 2023-07-03 08:53:54 +10:00
ws2812_bitbang.c drivers: remove direct quantum.h includes (#21473) 2023-07-09 20:03:50 +10:00
ws2812_pwm.c drivers: remove direct quantum.h includes (#21473) 2023-07-09 20:03:50 +10:00
ws2812_spi.c drivers: remove direct quantum.h includes (#21473) 2023-07-09 20:03:50 +10:00