Skip to content

Commit 4104040

Browse files
Ds18b20 sensor kconfig adapt (#1825)
1 parent 30b1f8f commit 4104040

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

peripherals/sensors/ds18b20/Kconfig

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,15 @@ if PKG_USING_DS18B20
1111
string
1212
default "/packages/peripherals/sensors/ds18b20"
1313

14+
config PKG_DS18B20_USING_SENSOR_V1
15+
bool "Enable sensor_v1 divce framework"
16+
select RT_USING_SENSOR
17+
default n
18+
19+
config PKG_DS18B20_USING_SAMPLE_SENSOR_V1
20+
bool "Enable ds18b20 sample"
21+
default n
22+
1423
choice
1524
prompt "Version"
1625
default PKG_USING_DS18B20_LATEST_VERSION
@@ -21,10 +30,6 @@ if PKG_USING_DS18B20
2130
bool "latest"
2231
endchoice
2332

24-
config PKG_USING_DS18B20_SAMPLE
25-
bool "Enable ds18b20 sample"
26-
default n
27-
2833
config PKG_DS18B20_VER
2934
string
3035
default "latest" if PKG_USING_DS18B20_LATEST_VERSION

0 commit comments

Comments
 (0)