Adafruit_MQTT_Library icon indicating copy to clipboard operation
Adafruit_MQTT_Library copied to clipboard

Prevent publishing "NaN" literally

Open ndoo opened this issue 9 years ago • 0 comments

  • Describe the scope of your change - Prevent publishing (return false) if passing a NaN float/double
  • Describe any known limitations with your change. - You won't be able to see literal NaNs from MQTT feeds (but you should be tracing math/logic issues through your code/prototype, not through MQTT feeds and dashboards)
  • Please run any tests or examples that can exercise your modified code. - WFM (compiles fine as a library to existing code)

ndoo avatar Sep 25 '16 13:09 ndoo