Skip to content

Commit 61e3a2a

Browse files
committed
modified example to comply with removal of DebugUtils for AVR
1 parent 713c835 commit 61e3a2a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/ConnectionHandlerDemo/ConnectionHandlerDemo.ino

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,9 @@ void setup() {
3434
Serial.begin(9600);
3535
/* Give a few seconds for the Serial connection to be available */
3636
delay(4000);
37-
37+
#ifndef __AVR__
3838
setDebugMessageLevel(DBG_INFO);
39-
39+
#endif
4040
conMan.addCallback(NetworkConnectionEvent::CONNECTED, onNetworkConnect);
4141
conMan.addCallback(NetworkConnectionEvent::DISCONNECTED, onNetworkDisconnect);
4242
conMan.addCallback(NetworkConnectionEvent::ERROR, onNetworkError);

0 commit comments

Comments
 (0)