File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 1919*/
2020
2121// version and sources location
22- #define FW_VERSION " 2.0.0.c23 "
22+ #define FW_VERSION " 2.0.0.c24 "
2323#define REPOSITORY " https://github.com/luc-github/ESP3D"
2424
2525// Customize ESP3D ////////////////////////////////////////////////////////////////////////
111111#endif
112112
113113#ifdef DHT_FEATURE
114- #define ESP_DHT_PIN 2
114+ #define ESP_DHT_PIN 15
115115#endif
116116
117117// Pins where the screen is connected
Original file line number Diff line number Diff line change @@ -292,7 +292,7 @@ void Esp3D::process()
292292 last_dht_update = now_dht;
293293 float humidity = dht.getHumidity ();
294294 float temperature = dht.getTemperature ();
295- if (dht.getStatusString () == " OK " ) {
295+ if (strcmp ( dht.getStatusString (), " OK " ) == 0 ) {
296296 String s = String (temperature,2 );
297297 String s2 = s + " " +String (humidity,2 );
298298 #if defined (ASYNCWEBSERVER)
You can’t perform that action at this time.
0 commit comments