This commit is contained in:
Your Name
2024-05-04 00:12:12 -05:00
parent 69c279e704
commit dbd12417cc
3 changed files with 15 additions and 2 deletions

View File

@@ -109,6 +109,11 @@ void OnroadWindow::updateState(const UIState &s) {
nvg->updateState(s);
// Clearpilot
if (paramsMemory.getInt("no_lat_lane_change") == 1) {
bg = bg_colors[STATUS_DISENGAGED]
}
if (bg != bgColor) {
// repaint border
bg = bgColor;