Skip to content

Conversation

@fabiobaltieri
Copy link
Member

New macros and tweak the handler generated name.

Add two macro variants for registering handlers that have either only a
request structure or only a response structure.

Signed-off-by: Fabio Baltieri <[email protected]>
Add an extra _ on the handler struct name generated bu the
EC_HOST_CMD_HANDLER macros, this makes them a bit easier to list as they
now look something like

__cmd_EC_CMD_GET_VERSION

Signed-off-by: Fabio Baltieri <[email protected]>
@fabiobaltieri fabiobaltieri added the Trivial Changes that can be reviewed by anyone, i.e. doc changes, minor build system tweaks, etc. label Nov 23, 2025
@sonarqubecloud
Copy link

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

Labels

area: ec_host_cmd Trivial Changes that can be reviewed by anyone, i.e. doc changes, minor build system tweaks, etc.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants