mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-07-14 01:12:06 +08:00
wait longer to show controls waiting alert (#21657)
This commit is contained in:
@@ -76,7 +76,7 @@ void OnroadAlerts::updateState(const UIState &s) {
|
||||
QString::fromStdString(cs.getAlertText2()),
|
||||
QString::fromStdString(cs.getAlertType()),
|
||||
cs.getAlertSize(), cs.getAlertSound()});
|
||||
} else if ((sm.frame - s.scene.started_frame) > 5 * UI_FREQ) {
|
||||
} else if ((sm.frame - s.scene.started_frame) > 10 * UI_FREQ) {
|
||||
// Handle controls timeout
|
||||
if (sm.rcv_frame("controlsState") < s.scene.started_frame) {
|
||||
// car is started, but controlsState hasn't been seen at all
|
||||
|
||||
Reference in New Issue
Block a user