kconfig: replace known integer constants with variables
Make the intent of the value clear and avoid invalid ranges with typos. Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
This commit is contained in:
parent
dfdebc9cef
commit
ad63ca284e
97 changed files with 215 additions and 215 deletions
|
@ -51,7 +51,7 @@ config ADXL372_INACTIVITY_THRESHOLD
|
|||
|
||||
config ADXL372_ACTIVITY_TIME
|
||||
int "Activity time"
|
||||
range 0 255
|
||||
range 0 $(UINT8_MAX)
|
||||
default 1
|
||||
help
|
||||
The activity timer implements a robust activity detection that
|
||||
|
@ -63,7 +63,7 @@ config ADXL372_ACTIVITY_TIME
|
|||
|
||||
config ADXL372_INACTIVITY_TIME
|
||||
int "In-activity time"
|
||||
range 0 255
|
||||
range 0 $(UINT8_MAX)
|
||||
default 2
|
||||
help
|
||||
The time that all enabled axes must be lower than the inactivity
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue