From d0a10359855d6a3cc1bb25f2a898d14d2879d9ad Mon Sep 17 00:00:00 2001 From: Rotzbua Date: Thu, 21 May 2020 14:29:08 +0200 Subject: [PATCH] Fix compiler warning: comparison between signed... ... and unsigned integer expressions [-Wsign-compare] --- DHT.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/DHT.cpp b/DHT.cpp index 0c22036..94fe4cf 100644 --- a/DHT.cpp +++ b/DHT.cpp @@ -26,8 +26,9 @@ #include "DHT.h" #define MIN_INTERVAL 2000 /**< min interval value */ -#define TIMEOUT UINT32_MAX /**< Used programmatically for timeout. \ - Not a timeout duration. Type: uint32_t. */ +#define TIMEOUT \ + UINT32_MAX /**< Used programmatically for timeout. \ + Not a timeout duration. Type: uint32_t. */ /*! * @brief Instantiates a new DHT class