Skip to content

Commit 662c040

Browse files
authored
[sensor_v1] adapt vl5310x (#1811)
* [sensor_v1] adapt adapt_vl53l0x * [sensor_v1]adapt vl53l0x * [sensor_v1]adapt vl53l0x
1 parent b807ec7 commit 662c040

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

peripherals/sensors/vl53l0x/Kconfig

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,15 @@ if PKG_USING_VL53L0X
1010
string
1111
default "/packages/peripherals/sensors/vl53l0x"
1212

13-
config PKG_USING_VL53L0X_SAMPLE
14-
bool "Enable vl53l0x sample"
13+
config PKG_VL53L0X_USING_SENSOR_V1
14+
bool "Enable sensor_v1 divce framework"
15+
select RT_USING_SENSOR
1516
default n
17+
if PKG_VL53L0X_USING_SENSOR_V1
18+
config PKG_VL53L0X_USING_SENSOR_V1_SAMPLE
19+
bool "Enable vl53l0x sensor_v1 divce framework sample"
20+
default n
21+
endif
1622

1723
choice
1824
prompt "Version"

0 commit comments

Comments
 (0)