Skip to content

Commit d838d75

Browse files
author
brentru
committed
turn off debug/error by default, cleanup
1 parent d570616 commit d838d75

File tree

3 files changed

+2
-7
lines changed

3 files changed

+2
-7
lines changed

src/AdafruitIO.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ void errorCallback(char *err, uint16_t len)
3535
AIO_ERROR_PRINTLN();
3636
}
3737

38-
3938
void AdafruitIO::connect()
4039
{
4140

src/AdafruitIO.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,6 @@ class AdafruitIO {
4545
virtual ~AdafruitIO();
4646

4747
void connect();
48-
//void airliftPins(uint16_t ss, uint16_t ack, uint16_t rst);
49-
50-
5148
void run(uint16_t busywait_ms = 0);
5249

5350
AdafruitIO_Feed* feed(const char *name);
@@ -69,7 +66,6 @@ class AdafruitIO {
6966
virtual const char* connectionType() = 0;
7067

7168
protected:
72-
//uint16_t _airlift_ss, _airlift_ack, _airlift_rst;
7369
virtual void _connect() = 0;
7470
aio_status_t _status = AIO_IDLE;
7571
uint32_t _last_ping = 0;

src/AdafruitIO_Definitions.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,9 @@ class AdafruitIOGroupCallback {
4242
};
4343

4444
// Uncomment/comment to turn on/off debug output messages.
45-
#define AIO_DEBUG
45+
// #define AIO_DEBUG
4646
// Uncomment/comment to turn on/off error output
47-
#define AIO_ERROR
47+
// #define AIO_ERROR
4848

4949
// Where debug messages will be printed
5050
// note: if you're using something like Zero or Due, change the below to SerialUSB

0 commit comments

Comments
 (0)