sensor: adxl345: add missing Kconfig dependency
Add a missed dependency to all sub-symbols of `ADXL345`. Signed-off-by: Jordan Yates <jordan@embeint.com>
This commit is contained in:
parent
2c1538d57e
commit
a0d22be980
1 changed files with 4 additions and 0 deletions
|
@ -13,6 +13,8 @@ config ADXL345
|
||||||
help
|
help
|
||||||
Enable driver for ADXL345 Three-Axis Digital Accelerometer.
|
Enable driver for ADXL345 Three-Axis Digital Accelerometer.
|
||||||
|
|
||||||
|
if ADXL345
|
||||||
|
|
||||||
choice ADXL345_TRIGGER_MODE
|
choice ADXL345_TRIGGER_MODE
|
||||||
prompt "Trigger mode"
|
prompt "Trigger mode"
|
||||||
default ADXL345_TRIGGER_NONE
|
default ADXL345_TRIGGER_NONE
|
||||||
|
@ -58,3 +60,5 @@ config ADXL345_THREAD_STACK_SIZE
|
||||||
default 1024
|
default 1024
|
||||||
help
|
help
|
||||||
Stack size of thread used by the driver to handle interrupts.
|
Stack size of thread used by the driver to handle interrupts.
|
||||||
|
|
||||||
|
endif # ADXL345
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue