Skip to content

Commit 5ce3bce

Browse files
authored
Fix compiler warning: comparison between signed...
... and unsigned integer expressions [-Wsign-compare]
1 parent 6a843cb commit 5ce3bce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

DHT.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
#include "DHT.h"
2727

2828
#define MIN_INTERVAL 2000 /**< min interval value */
29-
#define TIMEOUT -1 /**< timeout on */
29+
#define TIMEOUT UINT32_MAX /**< Used programmatically for timeout. Not a timeout duration. Type: uint32_t. */
3030

3131
/*!
3232
* @brief Instantiates a new DHT class

0 commit comments

Comments
 (0)