[AFSK] Added missing client begin

This commit is contained in:
jgromes 2021-02-13 17:40:45 +01:00
parent 09a73591ba
commit 4808ba8122

View file

@ -58,6 +58,17 @@ void setup() {
Serial.println(state); Serial.println(state);
while(true); while(true);
} }
// initialize AFSK client
Serial.print(F("[AFSK] Initializing ... "));
state = audio.begin();
if(state == ERR_NONE) {
Serial.println(F("success!"));
} else {
Serial.print(F("failed, code "));
Serial.println(state);
while(true);
}
} }
void loop() { void loop() {