Merge branch 'arendst:development' into feature/can-bus

This commit is contained in:
Marius Bezuidenhout 2021-07-14 11:44:10 +02:00 committed by GitHub
commit f52ef2787a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 3 deletions

View File

@ -18,8 +18,6 @@
*/
#ifdef ESP32
// Below test to solve ESP32-C3 compilations (20210420)
#if CONFIG_IDF_TARGET_ESP32
/*********************************************************************************************\
* ESP32 CPU Temperature and optional Hall Effect sensor
*
@ -131,12 +129,13 @@ bool Xsns127(uint8_t function) {
Esp32SensorShow(0);
break;
#endif // USE_WEBSERVER
#if CONFIG_IDF_TARGET_ESP32
case FUNC_INIT:
Esp32SensorInit();
break;
#endif // CONFIG_IDF_TARGET_ESP32
}
return result;
}
#endif // CONFIG_IDF_TARGET_ESP32
#endif // ESP32