From 0f2495fe8f9accac10c7ac06469a6565b4d2dd79 Mon Sep 17 00:00:00 2001 From: Keisha Zapra Date: Thu, 4 Mar 2021 08:57:23 +0800 Subject: [PATCH] Fix bug where accelerometer was required to be enabled for humidity to work --- src/CayenneLPP.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/CayenneLPP.cpp b/src/CayenneLPP.cpp index 30cb037..f59d3be 100644 --- a/src/CayenneLPP.cpp +++ b/src/CayenneLPP.cpp @@ -451,7 +451,7 @@ uint32_t CayenneLPP::getTypeMultiplier(uint8_t type) { return LPP_TEMPERATURE_MULT; #endif -#ifndef CAYENNE_DISABLE_ACCELEROMETER +#ifndef CAYENNE_DISABLE_RELATIVE_HUMIDITY case LPP_RELATIVE_HUMIDITY: return LPP_RELATIVE_HUMIDITY_MULT; #endif