Skip to content

Commit 41700b1

Browse files
committed
Disable verbose debug output for production sketches (save RAM and flash)
1 parent bf01c01 commit 41700b1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/AIoTC_Config.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
#endif
4444

4545
#ifndef DBG_VERBOSE
46-
#define DBG_VERBOSE(fmt, ...) Debug.print(DBG_VERBOSE, fmt, ## __VA_ARGS__)
46+
#define DBG_VERBOSE(fmt, ...) //Debug.print(DBG_VERBOSE, fmt, ## __VA_ARGS__)
4747
#endif
4848

4949
/******************************************************************************

src/ArduinoIoTCloudTCP.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ ArduinoIoTCloudTCP::State ArduinoIoTCloudTCP::handle_SubscribeMqttTopics()
266266
}
267267
}
268268

269-
DBG_VERBOSE("Connected to Arduino IoT Cloud");
269+
DBG_INFO("Connected to Arduino IoT Cloud");
270270
execCloudEventCallback(ArduinoIoTCloudEvent::CONNECT);
271271

272272
if (_shadowTopicIn != "")

0 commit comments

Comments
 (0)