mirror of
https://github.com/qmk/qmk_firmware.git
synced 2024-12-13 13:20:46 +00:00
Merge remote-tracking branch 'origin/develop' into xap
This commit is contained in:
commit
2aa54bde98
@ -135,7 +135,7 @@ __attribute__((weak)) uint16_t dac_value_generate(void) {
|
|||||||
* timer runs with 3*AUDIO_DAC_SAMPLE_RATE; and the DAC callback
|
* timer runs with 3*AUDIO_DAC_SAMPLE_RATE; and the DAC callback
|
||||||
* is called twice per conversion.*/
|
* is called twice per conversion.*/
|
||||||
|
|
||||||
dac_if[i] = fmod(dac_if[i], AUDIO_DAC_BUFFER_SIZE);
|
dac_if[i] = fmodf(dac_if[i], AUDIO_DAC_BUFFER_SIZE);
|
||||||
|
|
||||||
// Wavetable generation/lookup
|
// Wavetable generation/lookup
|
||||||
uint16_t dac_i = (uint16_t)dac_if[i];
|
uint16_t dac_i = (uint16_t)dac_if[i];
|
||||||
|
Loading…
Reference in New Issue
Block a user