From 50e4f0edc8b4de33096b2f5c7143cd574841f210 Mon Sep 17 00:00:00 2001 From: Matthias Prinke Date: Tue, 28 May 2024 23:48:01 +0200 Subject: [PATCH] Midified INV_FLOAT --- BresserWeatherSensorLWCfg.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BresserWeatherSensorLWCfg.h b/BresserWeatherSensorLWCfg.h index 1a327fe..4b264ea 100644 --- a/BresserWeatherSensorLWCfg.h +++ b/BresserWeatherSensorLWCfg.h @@ -433,7 +433,7 @@ const uint8_t UBATT_SAMPLES = 10; #define APP_PAYLOAD_BYTES_DIGITAL 4 // Encoding of invalid values -#define INV_FLOAT 0xFFFFFFFF +#define INV_FLOAT NAN #define INV_UINT32 0xFFFFFFFF #define INV_UINT16 0xFFFF #define INV_UINT8 0xFF