Skip to content

Commit ee2b628

Browse files
committed
Fix #24, Support none AVR boards
1 parent d9fdf06 commit ee2b628

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

SimpleDHT.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,13 +69,15 @@ void SimpleDHT::setPin(int pin) {
6969
#endif
7070
}
7171

72+
#ifdef __AVR
7273
int SimpleDHT::getBitmask() {
7374
return bitmask;
7475
}
7576

7677
int SimpleDHT::getPort() {
7778
return port;
7879
}
80+
#endif
7981

8082
long SimpleDHT::levelTime(byte level, int firstWait, int interval) {
8183
unsigned long time_start = micros();

0 commit comments

Comments
 (0)