Skip to content

Conversation

venodela
Copy link
Contributor

@venodela venodela commented Oct 13, 2025

Wrapp the 'done:' label with #if DT_ANY_INST_HAS_PROP_STATUS_OKAY(reset_gpios) to avoid unused label warnings when reset_gpios is not defined.

Move declaration of 'val' under the corresponding #if block to limit its scope and prevent “unused variable” warnings.

@michalsimek

Wrapp the 'done:' label with #if DT_ANY_INST_HAS_PROP_STATUS_OKAY
to avoid unused label warnings when reset_gpios is not defined.

Move declaration of 'val' under the corresponding #if block to limit
its scope and prevent “unused variable” warnings.

Signed-off-by: Venkatesh Odela <[email protected]>
Copy link

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants