Skip to content

Commit

Permalink
Fix NAN with real NAN defined in C99
Browse files Browse the repository at this point in the history
  • Loading branch information
KillingJacky committed Jan 29, 2018
1 parent 45553fa commit a96baa7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion DHT.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@ MIT license
written by Adafruit Industries
*/

#include <math.h>
#include "DHT.h"
#define NAN 0
//#define NAN 0

DHT::DHT(uint8_t pin, uint8_t type, uint8_t count) {
_pin = pin;
Expand Down

0 comments on commit a96baa7

Please sign in to comment.