Skip to content

Commit cde2583

Browse files
fix indentation
1 parent cdddcc8 commit cde2583

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/esp32_audio_kit_module.h

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ typedef void(*audioKitButtonCb)(uint8_t, uint8_t);
5353
extern audioKitButtonCb audioKitButtonCallback;
5454
void button_setup();
5555
void button_loop();
56-
void ac101_setSourceMic( void);
56+
void ac101_setSourceMic(void);
5757
void ac101_setSourceLine(void);
5858

5959
#ifdef AC101_ENABLED
@@ -138,8 +138,9 @@ static AC101 ac;
138138
* this function could be used to set up the masterclock
139139
* it is not necessary to use the ac101
140140
*/
141-
void ac101_mclk_setup() {
142-
uint32_t freq = SAMPLE_RATE* 512; /* The maximal frequency is 80000000 / 2^bit_num */
141+
void ac101_mclk_setup()
142+
{
143+
uint32_t freq = SAMPLE_RATE * 512; /* The maximal frequency is 80000000 / 2^bit_num */
143144
Serial.printf("Output frequency: %d\n", freq);
144145
ledcSetup(MCLK_CH, freq, PWM_BIT);
145146
ledcAttachPin(OUTPUT_PIN, MCLK_CH);

0 commit comments

Comments
 (0)