mirror of https://github.com/arendst/Tasmota.git
Merge branch 'arendst:development' into feature/can-bus
This commit is contained in:
commit
f52ef2787a
|
@ -18,8 +18,6 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifdef ESP32
|
#ifdef ESP32
|
||||||
// Below test to solve ESP32-C3 compilations (20210420)
|
|
||||||
#if CONFIG_IDF_TARGET_ESP32
|
|
||||||
/*********************************************************************************************\
|
/*********************************************************************************************\
|
||||||
* ESP32 CPU Temperature and optional Hall Effect sensor
|
* ESP32 CPU Temperature and optional Hall Effect sensor
|
||||||
*
|
*
|
||||||
|
@ -131,12 +129,13 @@ bool Xsns127(uint8_t function) {
|
||||||
Esp32SensorShow(0);
|
Esp32SensorShow(0);
|
||||||
break;
|
break;
|
||||||
#endif // USE_WEBSERVER
|
#endif // USE_WEBSERVER
|
||||||
|
#if CONFIG_IDF_TARGET_ESP32
|
||||||
case FUNC_INIT:
|
case FUNC_INIT:
|
||||||
Esp32SensorInit();
|
Esp32SensorInit();
|
||||||
break;
|
break;
|
||||||
|
#endif // CONFIG_IDF_TARGET_ESP32
|
||||||
}
|
}
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif // CONFIG_IDF_TARGET_ESP32
|
|
||||||
#endif // ESP32
|
#endif // ESP32
|
||||||
|
|
Loading…
Reference in New Issue