File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 2020
2121 ----------------------------------------------------------------------------*/
2222#include < driver/i2s.h>
23- #include < chirp_connect.h>
2423
24+ #include " chirp_connect.h"
2525#include " credentials.h"
2626
2727#define I2SI_DATA 12 // I2S DATA IN on GPIO32
@@ -53,14 +53,14 @@ static chirp_connect_state_t currentState = CHIRP_CONNECT_STATE_NOT_CREATED;
5353static volatile bool buttonPressed = false ;
5454static bool startTasks = false ;
5555
56- // Function definitions - --------------------------------------
56+ // Function declarations --------------------------------------
5757void IRAM_ATTR handleInterrupt ();
5858void setupChirp ();
5959void chirpErrorHandler (chirp_connect_error_code_t code);
6060void setupAudioInput (int sample_rate);
6161void setupAudioOutput (int sample_rate);
6262
63- // Function declarations --------------------------------------
63+ // Function definitions - --------------------------------------
6464void
6565onStateChangedCallback (void *connect, chirp_connect_state_t previous, chirp_connect_state_t current)
6666{
You can’t perform that action at this time.
0 commit comments