Skip to content

Commit

Permalink
lis2dh_sensor_adapt
Browse files Browse the repository at this point in the history
  • Loading branch information
CYFS3 committed Oct 8, 2024
1 parent 24d2675 commit f953fc7
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions peripherals/sensors/lis2dh12/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,10 @@ if PKG_USING_LIS2DH12
string
default "/packages/peripherals/sensors/lis2dh12"

config PKG_USING_LIS2DH12_ACCE
bool "Enable lis2dh12 accelerometer"
default y
config PKG_LIS2DH12_USING_SENSOR_V1
bool "Enable sensor_v1 divce framework(please enbale an spi bus)"
select RT_USING_SENSOR
default n

choice
prompt "Version"
Expand Down

0 comments on commit f953fc7

Please sign in to comment.