mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-08-07 19:35:43 +08:00
UI: don't forget the toggle for Braking Status
This commit is contained in:
@@ -302,7 +302,7 @@ void AnnotatedCameraWidget::updateState(const UIState &s) {
|
||||
setProperty("dynamicLaneProfileToggle", s.scene.dynamic_lane_profile_toggle);
|
||||
setProperty("dynamicLaneProfile", s.scene.dynamic_lane_profile);
|
||||
|
||||
setProperty("brakeLights", car_state.getBrakeLights());
|
||||
setProperty("brakeLights", car_state.getBrakeLights() && s.scene.visual_brake_lights);
|
||||
|
||||
// update engageability/experimental mode button
|
||||
experimental_btn->updateState(s);
|
||||
|
||||
Reference in New Issue
Block a user