Skip to content

adding inv error to crit screen - #2100

Open
setaremalekiii wants to merge 24 commits into
masterfrom
crit_inv_error
Open

adding inv error to crit screen#2100
setaremalekiii wants to merge 24 commits into
masterfrom
crit_inv_error

Conversation

@setaremalekiii

Copy link
Copy Markdown
Contributor

Changelist

Testing Done

Resolved Tickets

@setaremalekiii
setaremalekiii requested a review from Lucien950 June 18, 2026 15:29

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

great changes

static uint16_t prev_fl = 0u;
static uint16_t prev_rl = 0u;

static void update()

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this will not work, because the moment fr is set to something it will auto override everything else. please keep track of the errorcode/errored inverter in one variable

// If higher priority error code is on we'll just keep that on first two segs are the
// inverter last 5 the code from CAN

if (fr_inv_error && fr_inv_error != prev_fr)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this will display the error for one tick, then ignore it

@Lucien950 Lucien950 changed the title adding inv error to segment adding inv error to crit screen Jun 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants