Skip to content

Commit 0c581ab

Browse files
author
brentru
committed
no warnings for mqtt, dashboard
1 parent ec9188f commit 0c581ab

2 files changed

Lines changed: 16 additions & 0 deletions

File tree

src/AdafruitIO_Dashboard.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,12 @@ class AdafruitIO_Dashboard {
4747
const char *name; /*!< Dashboard name. */
4848
const char *user(); /*!< Dashboard owner's Adafruit IO username. */
4949

50+
/**************************************************************************/
51+
/*!
52+
@brief Creates an instance of AdafruitIO.
53+
@return True
54+
*/
55+
/**************************************************************************/
5056
AdafruitIO *io();
5157

5258
bool exists();

src/AdafruitIO_MQTT.h

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,16 @@ class AdafruitIO_MQTT {
2626

2727
public:
2828
AdafruitIO_MQTT() {}
29+
/**************************************************************************/
30+
/*!
31+
@brief Creates an instance of a MQTT subscription callback.
32+
@param val
33+
Value from the MQTT subscription callback.
34+
@param len
35+
Length of returned value.
36+
@return True
37+
*/
38+
/**************************************************************************/
2939
virtual void subCallback(char *val, uint16_t len) = 0;
3040
};
3141

0 commit comments

Comments
 (0)