Skip to content

Commit 4f841c6

Browse files
authored
Merge pull request #160 from Rotzbua/patch-2
Fix compiler warning: comparison between signed...
2 parents 6a843cb + d0a1035 commit 4f841c6

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

DHT.cpp

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

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

3133
/*!
3234
* @brief Instantiates a new DHT class

0 commit comments

Comments
 (0)