mirror of
https://github.com/infiniteCable2/openpilot.git
synced 2026-08-03 16:49:31 +08:00
increase controls alert timeout
old-commit-hash: 717e49019f7e25c091db74cc59d6fb4bdb792c73
This commit is contained in:
+1
-1
@@ -263,7 +263,7 @@ void ui_update(UIState *s) {
|
||||
}
|
||||
|
||||
// Handle controls/fcamera timeout
|
||||
if (s->started && !s->scene.frontview && ((s->sm)->frame - s->started_frame) > 5*UI_FREQ) {
|
||||
if (s->started && !s->scene.frontview && ((s->sm)->frame - s->started_frame) > 10*UI_FREQ) {
|
||||
if ((s->sm)->rcv_frame("controlsState") < s->started_frame) {
|
||||
// car is started, but controlsState hasn't been seen at all
|
||||
s->scene.alert_text1 = "openpilot Unavailable";
|
||||
|
||||
Reference in New Issue
Block a user