Skip to content

Commit

Permalink
Add header for temperature sensor driver (#259)
Browse files Browse the repository at this point in the history
Only includes the header for driver implemented in esp-idf v5+
At the time of writing following ESP variants are supported by the driver ESP32{S2,S3,C2,C3,C6,H2}
  • Loading branch information
GamerBene19 authored Nov 17, 2023
1 parent 14fd3a5 commit 22c5059
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/include/esp-idf/bindings.h
Original file line number Diff line number Diff line change
Expand Up @@ -297,6 +297,10 @@
#include "driver/uart_select.h"
#endif

#if ESP_IDF_VERSION_MAJOR > 4 && defined(SOC_TEMP_SENSOR_SUPPORTED)
#include "driver/temperature_sensor.h"
#endif

#ifdef ESP_IDF_COMP_ESPCOREDUMP_ENABLED
#include "esp_core_dump.h"
#endif
Expand Down

0 comments on commit 22c5059

Please sign in to comment.