Skip to content

[component] Add return code constants for FW auto update to component_base#2

Closed
alexrallen wants to merge 1 commit intomasterfrom
auto_update
Closed

[component] Add return code constants for FW auto update to component_base#2
alexrallen wants to merge 1 commit intomasterfrom
auto_update

Conversation

@alexrallen
Copy link
Copy Markdown
Owner

Description

Added constants to component_base for each potential return code of auto_firmware_update() so that vendor specific component implementations may reference these to provide the correct return codes to the firmware auto update utility.

Motivation and Context

This provides a central location from which standardized return codes may be imported, preventing the need for potential inconsistency in vendor implementations or the use of magic numbers in vendor implementations for return code.

How Has This Been Tested?

Non-functional change, builds successfully and can be successfully imported from at runtime.

@alexrallen alexrallen closed this May 26, 2021
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.

3 participants