increase startup timeout for camera malfunction

pull/2754/head
komma zwei 2020-12-11 20:07:27 -08:00 committed by Comma Device
parent d3c2a0e6c1
commit 41bc3c558e
1 changed files with 1 additions and 1 deletions

View File

@ -285,7 +285,7 @@ void ui_update(UIState *s) {
if (((s->sm)->rcv_frame("frame") > s->started_frame &&
((s->sm)->frame - (s->sm)->rcv_frame("frame")) > 5*UI_FREQ) ||
((s->sm)->frame - (s->sm)->rcv_frame("frame")) > 15*UI_FREQ) {
((s->sm)->frame - (s->sm)->rcv_frame("frame")) > 35*UI_FREQ) {
// controls is fine, but rear camera is lagging or died
s->scene.alert_text1 = "Camera Malfunction";
s->scene.alert_text2 = "Contact Support";