mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-06-27 17:02:04 +08:00
increase controls alert timeout
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