Skip to content

Use FaultCode enum in GetValues - #8

Merged
ikalnytskyi merged 1 commit into
masterfrom
petro/vesc-fail-codes
Feb 18, 2026
Merged

ikalnytskyi merged 1 commit into
masterfrom
petro/vesc-fail-codes

Conversation

@peterzdeb

@peterzdeb peterzdeb commented Feb 17, 2026

Copy link
Copy Markdown
Collaborator

Prepared enum for fault_code attribute of GetValues command.
Now we can have a convenient text representation of that value.

Replaces raw `u8` fault codes with a structured enum across the command
and decoder modules. This improves code readability and provides better
error context during packet decoding.
@ikalnytskyi
ikalnytskyi force-pushed the petro/vesc-fail-codes branch from c0b6525 to 5768bfa Compare February 18, 2026 01:20
@ikalnytskyi ikalnytskyi changed the title VESC fault codes structured with text representation Use FaultCode enum in GetValues Feb 18, 2026
@ikalnytskyi
ikalnytskyi merged commit e5d75f4 into master Feb 18, 2026
5 checks passed
@ikalnytskyi
ikalnytskyi deleted the petro/vesc-fail-codes branch February 18, 2026 01:21
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.

2 participants