From 1e837248ac766546e973ffcaa52cf70c8c84b93a Mon Sep 17 00:00:00 2001 From: David Peer Date: Fri, 11 Feb 2022 11:09:53 +0100 Subject: [PATCH] Qeue first --- apps/lcars/lcars.app.js | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/apps/lcars/lcars.app.js b/apps/lcars/lcars.app.js index 2ff76a541..d8405b18d 100644 --- a/apps/lcars/lcars.app.js +++ b/apps/lcars/lcars.app.js @@ -430,8 +430,9 @@ function drawPosition1(){ } function draw(){ + // Queue draw first to ensure that its called in one minute again. + queueDraw(); - try{ // First handle alarm to show this correctly afterwards handleAlarm(); @@ -445,13 +446,6 @@ function draw(){ } else if (lcarsViewPos == 1) { drawPosition1(); } - } catch (ex){ - // In case of an exception, we simply queue - // and try it in one minute again... - } - - // Queue draw in one minute - queueDraw(); }