Fix internal temperature reading on ESP32 (#1391)
The previous macro used SENS_SAR_MEAS_WAIT2_REG to identify if we have the reading capability was not working, so replacing it by a fresh one NO_INT_TEMP_READING, defined as a negation due to the fact that most of the ESP32 supports internal temperature reading.
This commit is contained in:
1 parent
ad97e9a677
commit
76b5e9269f
5 files changed
+8
-6
No files matched your search
@@ -501,6 +501,7 @@ CRGB leds[FASTLED_IND_NUM_LEDS];
|
||||
//# define TRIGGER_GPIO 14 // pin D5 as full reset button (long press >10s)
|
||||
#elif ESP32
|
||||
//# define TRIGGER_GPIO 0 // boot button as full reset button (long press >10s)
|
||||
//# define NO_INT_TEMP_READING true //Define if we don't want internal temperature reading for the ESP32
|
||||
#endif
|
||||
|
||||
// VCC ------------D|-----------/\/\/\/\ ----------------- Arduino PIN
|
||||
|
||||
Reference in new issue
Block a user