From b3f6e1e89ec623bbf2043edc86660853d9d40930 Mon Sep 17 00:00:00 2001 From: Vincent Barrilliot Date: Sun, 12 Nov 2023 13:39:41 +0100 Subject: [PATCH] Fix indentation --- src/snd/codec.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/snd/codec.c b/src/snd/codec.c index 644c540..ee0e1c0 100644 --- a/src/snd/codec.c +++ b/src/snd/codec.c @@ -15,14 +15,14 @@ void codec_wait() { void init_codec() { const uint16_t codec_init_data[] = { - 0x2e00, // Master reset - 0x1a00, // R13 - Turn On Headphones - 0x2a1f, // R21 - Enable All the Analog In - 0x2301, // R17 - Auto-level control: WM8776_R17_ADC_ANALOG_AUTO_LEVEL_CONTROL | LCEN_ENABLED | HLD_MASK, - 0x2c07, // R22 - Enable all output sources - 0x1402, // R10 - DAC interface control - 0x1602, // R11 - ADC inteface control - 0x1845 // R12 - ADC rate 768, DAC rate 512 + 0x2e00, // Master reset + 0x1a00, // R13 - Turn On Headphones + 0x2a1f, // R21 - Enable All the Analog In + 0x2301, // R17 - Auto-level control: WM8776_R17_ADC_ANALOG_AUTO_LEVEL_CONTROL | LCEN_ENABLED | HLD_MASK, + 0x2c07, // R22 - Enable all output sources + 0x1402, // R10 - DAC interface control + 0x1602, // R11 - ADC inteface control + 0x1845 // R12 - ADC rate 768, DAC rate 512 }; for (int i = 0; i