From 868178fe2f8bb1de5208c37737cda5927ad477f0 Mon Sep 17 00:00:00 2001 From: Andrew Frahn Date: Tue, 23 Oct 2018 10:00:42 +1100 Subject: [PATCH] Update ui.c as per pjlao307 --- selfdrive/ui/ui.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/selfdrive/ui/ui.c b/selfdrive/ui/ui.c index 3eb4c25c02d986..e750cee294e780 100644 --- a/selfdrive/ui/ui.c +++ b/selfdrive/ui/ui.c @@ -1852,6 +1852,7 @@ int main() { // BB check touch area bb_handle_ui_touch(s,touch_x,touch_y); } + dashcam(s, touch_x, touch_y); // manage wakefulness if (s->awake_timeout > 0) { @@ -1861,7 +1862,6 @@ int main() { } if (s->awake) { - dashcam(s, touch_x, touch_y); ui_draw(s); glFinish(); should_swap = true;