From 5ce3bce49c3d855e69686de77d8118948731b7f6 Mon Sep 17 00:00:00 2001 From: Rotzbua Date: Thu, 21 May 2020 06:28:03 +0200 Subject: [PATCH] Fix compiler warning: comparison between signed... ... and unsigned integer expressions [-Wsign-compare] --- DHT.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DHT.cpp b/DHT.cpp index 91393c7..efcd98c 100644 --- a/DHT.cpp +++ b/DHT.cpp @@ -26,7 +26,7 @@ #include "DHT.h" #define MIN_INTERVAL 2000 /**< min interval value */ -#define TIMEOUT -1 /**< timeout on */ +#define TIMEOUT UINT32_MAX /**< Used programmatically for timeout. Not a timeout duration. Type: uint32_t. */ /*! * @brief Instantiates a new DHT class