Skip to content

Commit

Permalink
Removed unnecessary value assignments from the UpdateDisplay error enum.
Browse files Browse the repository at this point in the history
  • Loading branch information
KnockbackNemo committed Oct 6, 2023
1 parent 64f287e commit c64c803
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions Apps/Inc/UpdateDisplay.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,12 @@
* Error types
*/
typedef enum{
UPDATEDISPLAY_ERR_NONE =0,
UPDATEDISPLAY_ERR_FIFO_PUT =1, // Error putting command in fifo
UPDATEDISPLAY_ERR_FIFO_POP =2, // Error popping command from fifo
UPDATEDISPLAY_ERR_PARSE_COMP =3, // Error parsing component/val in SetComponent
UPDATEDISPLAY_ERR_NO_CHANGE =4, // No change in component value
UPDATEDISPLAY_ERR_DRIVER =5 // Driver call returned an error
UPDATEDISPLAY_ERR_NONE,
UPDATEDISPLAY_ERR_FIFO_PUT, // Error putting command in fifo
UPDATEDISPLAY_ERR_FIFO_POP, // Error popping command from fifo
UPDATEDISPLAY_ERR_PARSE_COMP, // Error parsing component/val in SetComponent
UPDATEDISPLAY_ERR_NO_CHANGE, // No change in component value
UPDATEDISPLAY_ERR_DRIVER // Driver call returned an error
} UpdateDisplayError_t;

/**
Expand Down

0 comments on commit c64c803

Please sign in to comment.