wait longer to show controls waiting alert (#21657)

old-commit-hash: ced26b806f356c63a016f8b2c47b9b2b336a653c
This commit is contained in:
Adeeb Shihadeh
2021-07-20 11:15:27 -07:00
committed by GitHub
parent d0e960f8be
commit 5e858225b2
+1 -1
View File
@@ -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