Skip to content

Commit 6f6fc4e

Browse files
shenyi97MaureenHelm
authored andcommitted
drivers: sensors: icm42688: fix bug in Kconfigfile
Fix Bug in Kconfig file of icm42688 driver Signed-off-by: Xuyang Shen <[email protected]>
1 parent 998e839 commit 6f6fc4e

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

drivers/sensor/icm42688/Kconfig

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,33 +4,32 @@
44
#
55
# SPDX-License-Identifier: Apache-2.0
66

7-
config ICM42688
7+
menuconfig ICM42688
88
bool "ICM42688 Six-Axis Motion Tracking Device"
99
default y
1010
depends on DT_HAS_INVENSENSE_ICM42688_ENABLED
1111
select SPI
1212
help
1313
Enable driver for ICM42688 SPI-based six-axis motion tracking device.
1414

15+
if ICM42688
16+
1517
config EMUL_ICM42688
1618
bool "Emulator for the ICM42688"
1719
default y
18-
depends on ICM42688
1920
depends on EMUL
2021
help
2122
Enable the hardware emulator for the ICM42688. Doing so allows exercising
2223
sensor APIs for this IMU in native_sim and qemu.
2324

2425
config ICM42688_DECODER
2526
bool "ICM42688 decoder logic"
26-
default y if ICM42688
27+
default y
2728
select SENSOR_ASYNC_API
2829
help
2930
Compile the ICM42688 decoder API which allows decoding raw data returned
3031
from the sensor.
3132

32-
if ICM42688
33-
3433
choice
3534
prompt "Trigger mode"
3635
default ICM42688_TRIGGER_NONE if ICM42688_STREAM

0 commit comments

Comments
 (0)