refactor(temperature_sensor): Make temperature sensor adapt to cpp,

Closes https://github.com/espressif/esp-idf/issues/17656
This commit is contained in:
C.S.M
2025-09-28 13:24:03 +08:00
parent d28a923eb7
commit c8dd00a347
6 changed files with 43 additions and 27 deletions
@@ -46,6 +46,9 @@ typedef struct {
.range_min = min, \
.range_max = max, \
.clk_src = TEMPERATURE_SENSOR_CLK_SRC_DEFAULT, \
.flags = { \
.allow_pd = 0, \
}, \
}
/**