tobiasschuerg / MH-Z-CO2-Sensors

Arduino imeplementation for CO2 sensors of the MH-Z series (Intelligent Infrared CO2 Module)
MIT License
76 stars 40 forks source link

Debug status byte #5

Closed mariusebastian closed 6 years ago

mariusebastian commented 6 years ago

The if statement in line 156 of mhz.cpp makes the debug info "maybe not ok" as long as debug == TRUE.

Suggest changing to && instead of ||

mariusebastian commented 6 years ago

included this in a pull request instead