Skip to content

Commit 19384cf

Browse files
committed
nicla_voice: fix Record_and_stream example on latest arduino-audio-tools lib
1 parent cdaa048 commit 19384cf

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

libraries/NDP/examples/Record_and_stream/Record_and_stream.ino

+2-1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
#include "Arduino.h"
1818
#include "NDP.h"
1919

20+
#undef abs
2021
#include "AudioTools.h"
2122
#include "AudioCodecs/CodecG722.h"
2223

@@ -65,4 +66,4 @@ void loop() {
6566

6667
NDP.extractData(data, &len);
6768
encoder.write(data, len);
68-
}
69+
}

0 commit comments

Comments
 (0)