summaryrefslogtreecommitdiff
path: root/quantum/audio
diff options
context:
space:
mode:
authorgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>2021-02-15 11:53:15 +1100
committerGitHub <noreply@github.com>2021-02-15 11:53:15 +1100
commit8e8b7113dcf1ec8be0bdac75ed4a1d2b256a5965 (patch)
tree3bb6c5e8690afeffbec4f6f6e8308e117eaaf0b6 /quantum/audio
parentc80e5f9f8868ccaa8cb990be6f4da3f1011c2b78 (diff)
Format code according to conventions (#11907)
Co-authored-by: QMK Bot <hello@qmk.fm>
Diffstat (limited to 'quantum/audio')
-rw-r--r--quantum/audio/driver_chibios_dac_basic.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/quantum/audio/driver_chibios_dac_basic.c b/quantum/audio/driver_chibios_dac_basic.c
index 9a1c9a8c19..b8cec5ff1b 100644
--- a/quantum/audio/driver_chibios_dac_basic.c
+++ b/quantum/audio/driver_chibios_dac_basic.c
@@ -74,9 +74,9 @@ GPTConfig gpt7cfg1 = {.frequency = AUDIO_DAC_SAMPLE_RATE,
static void gpt_audio_state_cb(GPTDriver *gptp);
GPTConfig gptStateUpdateCfg = {.frequency = 10,
- .callback = gpt_audio_state_cb,
- .cr2 = TIM_CR2_MMS_1, /* MMS = 010 = TRGO on Update Event. */
- .dier = 0U};
+ .callback = gpt_audio_state_cb,
+ .cr2 = TIM_CR2_MMS_1, /* MMS = 010 = TRGO on Update Event. */
+ .dier = 0U};
static const DACConfig dac_conf_ch1 = {.init = AUDIO_DAC_OFF_VALUE, .datamode = DAC_DHRM_12BIT_RIGHT};
static const DACConfig dac_conf_ch2 = {.init = AUDIO_DAC_OFF_VALUE, .datamode = DAC_DHRM_12BIT_RIGHT};
@@ -131,7 +131,7 @@ void channel_2_start(void) {
void channel_2_stop(void) {
gptStopTimer(&GPTD7);
- palSetPadMode(GPIOA, 5, PAL_MODE_OUTPUT_PUSHPULL); \
+ palSetPadMode(GPIOA, 5, PAL_MODE_OUTPUT_PUSHPULL);
palSetPad(GPIOA, 5);
}