Skip to content

Commit

Permalink
Update ui.c as per pjlao307
Browse files Browse the repository at this point in the history
  • Loading branch information
emmertex committed Oct 22, 2018
1 parent cbb7d5c commit 868178f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion selfdrive/ui/ui.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand All @@ -1861,7 +1862,6 @@ int main() {
}

if (s->awake) {
dashcam(s, touch_x, touch_y);
ui_draw(s);
glFinish();
should_swap = true;
Expand Down

0 comments on commit 868178f

Please sign in to comment.