[AFSK] Added missing client begin

pull/261/head
jgromes 2021-02-13 17:40:45 +01:00
rodzic 09a73591ba
commit 4808ba8122
1 zmienionych plików z 11 dodań i 0 usunięć

Wyświetl plik

@ -58,6 +58,17 @@ void setup() {
Serial.println(state);
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() {