Skip to content

Commit

Permalink
Add EFUSE not set warning
Browse files Browse the repository at this point in the history
  • Loading branch information
rnd-ash committed Jun 13, 2024
1 parent 69a6593 commit 1e69034
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion backend/src/diag/device_modes.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ bitflags! {
// Bit 5?
const ERROR = 1 << 6;
const NO_CALIBRATION = 1 << 7;
// Bit 8?
const NO_EFUSE = 1 << 8;
// Bit 9?
// Bit 10?
// Bit 11?
Expand Down
5 changes: 5 additions & 0 deletions config_app/src/ui/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,11 @@ impl InterfacePage for MainPage {
"Your TCU requires calibrations, and will NOT function. Please go to the EGS compatibility page
to correct this!"
);
} else if mode.contains(TcuDeviceMode::NO_EFUSE) {
ui.colored_label(Color32::RED,
"Your TCU is freshly built and requires EFUSE configuration. Go to the configuration page
to correct this!"
);
} else if mode.contains(TcuDeviceMode::CANLOGGER) {
ui.colored_label(Color32::RED,
"Your TCU is in CAN logging mode, and will NOT function. To disable this,
Expand Down

0 comments on commit 1e69034

Please sign in to comment.