Skip to content

Commit

Permalink
Merge branch 'ozolive-explicit-datatype'
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark Ruys committed Oct 10, 2016
2 parents 71b8a6a + 1fda283 commit cd24ce3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions DHT.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -142,9 +142,9 @@ void DHT::readSensor()
// - Then 40 bits: RISING and then a FALLING edge per bit
// To keep our code simple, we accept any HIGH or LOW reading if it's max 85 usecs long

word rawHumidity = 0;
word rawTemperature = 0;
word data = 0;
uint16_t rawHumidity = 0;
uint16_t rawTemperature = 0;
uint16_t data = 0;

for ( int8_t i = -3 ; i < 2 * 40; i++ ) {
byte age;
Expand Down

0 comments on commit cd24ce3

Please sign in to comment.