mirror of
https://github.com/MoreTore/openpilot.git
synced 2026-08-05 00:05:59 +08:00
UI: faster offroad transition (#21466)
This commit is contained in:
+1
-1
@@ -208,7 +208,7 @@ static void update_state(UIState *s) {
|
||||
|
||||
scene.light_sensor = std::clamp<float>((1023.0 / max_lines) * (max_lines - camera_state.getIntegLines() * gain), 0.0, 1023.0);
|
||||
}
|
||||
scene.started = sm["deviceState"].getDeviceState().getStarted();
|
||||
scene.started = sm["deviceState"].getDeviceState().getStarted() && scene.ignition;
|
||||
}
|
||||
|
||||
static void update_params(UIState *s) {
|
||||
|
||||
Reference in New Issue
Block a user