Skip to content

Commit

Permalink
Fix bug where accelerometer was required to be enabled for humidity t…
Browse files Browse the repository at this point in the history
…o work
  • Loading branch information
Keisha Zapra committed Mar 4, 2021
1 parent 74cca04 commit 0f2495f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/CayenneLPP.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0f2495f

Please sign in to comment.