Correct DHT Setup when disabled
This commit is contained in:
parent
bd7979a1f3
commit
0c3ced5a7f
@ -8,7 +8,7 @@ int DHTGetTempAndHumidity(float &t, float &h);
|
||||
bool DHTIsConnected();
|
||||
|
||||
#else //CONFIG_ENABLE_DHT
|
||||
int DHTSetup(int pin){SKETCH_DEBUG_PRINTLN("DHT is disabled at build time"); return -1};
|
||||
int DHTSetup(int pin){SKETCH_DEBUG_PRINTLN("DHT is disabled at build time"); return -1;};
|
||||
int DHTGetTempAndHumidity(float &t, float &h){return -1;};
|
||||
bool DHTIsConnected(){return false;};
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user