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
@@ -1512,6 +1512,7 @@ build_flags =
|
||||
'-DFASTLED_IND_TYPE=NEOPIXEL'
|
||||
'-DFASTLED_IND_NUM_LEDS=1'
|
||||
'-DRGB_INDICATORS=true'
|
||||
'-DNO_INT_TEMP_READING=true' ; Internal temperature reading not building on ESP32 C3 or S3
|
||||
'-DGateway_Name="OpenMQTTGateway_ESP32_BLE"'
|
||||
|
||||
[env:esp32c3-dev-m1-ble]
|
||||
@@ -1531,6 +1532,7 @@ build_flags =
|
||||
'-DFASTLED_IND_TYPE=NEOPIXEL'
|
||||
'-DFASTLED_IND_NUM_LEDS=1'
|
||||
'-DRGB_INDICATORS=true'
|
||||
'-DNO_INT_TEMP_READING=true' ; Internal temperature reading not building on ESP32 C3 or S3
|
||||
'-DGateway_Name="OpenMQTTGateway_ESP32_BLE"'
|
||||
|
||||
[env:thingpulse-espgateway]
|
||||
|
||||
Reference in new issue
Block a user