Skip to content

Conversation

@pdgendt
Copy link
Contributor

@pdgendt pdgendt commented Nov 28, 2025

Allow constructing an struct adc_dt_spec or fallback to a default value.

Depends on #99120

Add tests for the ADC_DT_SPEC_GET_BY_IDX and ADC_DT_SPEC_INST_GET_BY_IDX
macros.

Signed-off-by: Pieter De Gendt <[email protected]>
Add _OR variations for the differen adc_dt_spec initialization macros.

Signed-off-by: Pieter De Gendt <[email protected]>
Add tests for the _OR variant sf the different ADC_DT_SPEC_GET macros.

Signed-off-by: Pieter De Gendt <[email protected]>
@sonarqubecloud
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant