refactor(temperature_sensor): Make temperature sensor adapt to cpp,
Closes https://github.com/espressif/esp-idf/issues/17656
This commit is contained in:
@@ -46,6 +46,9 @@ typedef struct {
|
||||
.range_min = min, \
|
||||
.range_max = max, \
|
||||
.clk_src = TEMPERATURE_SENSOR_CLK_SRC_DEFAULT, \
|
||||
.flags = { \
|
||||
.allow_pd = 0, \
|
||||
}, \
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user