Skip to content

Commit

Permalink
hw/drivers: fix LIS2DH12_SHELL_DEV_NAME syscfg restrictions
Browse files Browse the repository at this point in the history
Statement was not effective, it is `restrictions` not `restriction`
  • Loading branch information
KKopyscinski committed Feb 5, 2024
1 parent da102f1 commit a3feb92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hw/drivers/sensors/lis2dh12/syscfg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ syscfg.defs:
description: >
Device name for lis2dh12 device used in shell
value:
restriction: LIS2DH12_CLI == 0 || $notnull
LIS2DH12_CLI:
description: 'Enable shell support for the LIS2DH12'
value: 0
Expand Down Expand Up @@ -82,6 +81,7 @@ syscfg.defs:

syscfg.restrictions:
- "(LIS2DH12_ENABLE_I2C == 1) || (LIS2DH12_ENABLE_SPI == 1)"
- '(LIS2DH12_CLI == 0) || (LIS2DH12_SHELL_DEV_NAME != "")'

syscfg.logs:
LIS2DH12_LOG:
Expand Down

0 comments on commit a3feb92

Please sign in to comment.