Skip to content

Commit a0d22be

Browse files
JordanYateskartben
authored andcommitted
sensor: adxl345: add missing Kconfig dependency
Add a missed dependency to all sub-symbols of `ADXL345`. Signed-off-by: Jordan Yates <[email protected]>
1 parent 2c1538d commit a0d22be

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

drivers/sensor/adi/adxl345/Kconfig

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ config ADXL345
1313
help
1414
Enable driver for ADXL345 Three-Axis Digital Accelerometer.
1515

16+
if ADXL345
17+
1618
choice ADXL345_TRIGGER_MODE
1719
prompt "Trigger mode"
1820
default ADXL345_TRIGGER_NONE
@@ -58,3 +60,5 @@ config ADXL345_THREAD_STACK_SIZE
5860
default 1024
5961
help
6062
Stack size of thread used by the driver to handle interrupts.
63+
64+
endif # ADXL345

0 commit comments

Comments
 (0)