mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-06-22 22:42:05 +08:00
increase startup timeout for camera malfunction
This commit is contained in:
+1
-1
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user