[AFSK] Added missing client begin
This commit is contained in:
parent
09a73591ba
commit
4808ba8122
1 changed files with 11 additions and 0 deletions
|
@ -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() {
|
||||||
|
|
Loading…
Add table
Reference in a new issue