8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9e94d7e + 512cda8 commit c962089Copy full SHA for c962089
ports/espressif/common-hal/microcontroller/Processor.c
@@ -40,13 +40,13 @@
40
41
#include "soc/efuse_reg.h"
42
43
-#if !defined(CONFIG_IDF_TARGET_ESP32) && !defined(CONFIG_IDF_TARGET_ESP32S3)
+#if !defined(CONFIG_IDF_TARGET_ESP32)
44
#include "driver/temp_sensor.h"
45
#endif
46
47
float common_hal_mcu_processor_get_temperature(void) {
48
float tsens_out;
49
- #if defined(CONFIG_IDF_TARGET_ESP32S3) || defined(CONFIG_IDF_TARGET_ESP32)
+ #if defined(CONFIG_IDF_TARGET_ESP32)
50
mp_raise_NotImplementedError(NULL);
51
#else
52
temp_sensor_config_t temp_sensor = TSENS_CONFIG_DEFAULT(); // DEFAULT: range:-10℃ ~ 80℃, error < 1℃.
0 commit comments