File tree Expand file tree Collapse file tree 1 file changed +22
-17
lines changed
peripherals/sensors/max30102 Expand file tree Collapse file tree 1 file changed +22
-17
lines changed Original file line number Diff line number Diff line change @@ -10,23 +10,10 @@ if PKG_USING_MAX30102
1010 string
1111 default "/packages/peripherals/sensors/max30102"
1212
13- choice
14- prompt "Version"
15- default PKG_USING_MAX30102_LATEST_VERSION
16- help
17- Select the package version
18-
19- config PKG_USING_MAX30102_V100
20- bool "v1.0.0"
21-
22- config PKG_USING_MAX30102_LATEST_VERSION
23- bool "latest"
24- endchoice
25-
26- config PKG_MAX30102_VER
27- string
28- default "v1.0.0" if PKG_USING_MAX30102_V100
29- default "latest" if PKG_USING_MAX30102_LATEST_VERSION
13+ config PKG_MAX30102_USING_SENSOR_V1
14+ bool "Enable sensor_v1 divce framework"
15+ select RT_USING_SENSOR
16+ default n
3017
3118 config MAX30102_STACK_SIZE
3219 int "max30102 thread stack size"
@@ -44,5 +31,23 @@ if PKG_USING_MAX30102
4431 bool "max30102 example"
4532 default y
4633
34+ config PKG_MAX30102_VER
35+ string
36+ default "v1.0.0" if PKG_USING_MAX30102_V100
37+ default "latest" if PKG_USING_MAX30102_LATEST_VERSION
38+
39+ choice
40+ prompt "Version"
41+ default PKG_USING_MAX30102_LATEST_VERSION
42+ help
43+ Select the package version
44+
45+ config PKG_USING_MAX30102_V100
46+ bool "v1.0.0"
47+
48+ config PKG_USING_MAX30102_LATEST_VERSION
49+ bool "latest"
50+ endchoice
51+
4752endif
4853
You can’t perform that action at this time.
0 commit comments