From e871a97b7ee6f6a63907cf0ffead7de092954022 Mon Sep 17 00:00:00 2001 From: v1nc Date: Thu, 7 May 2020 20:36:32 +0200 Subject: [PATCH] Make sitTime <= moveTime possible --- apps/getup/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/getup/app.js b/apps/getup/app.js index 560c5dd56..253c06ef5 100644 --- a/apps/getup/app.js +++ b/apps/getup/app.js @@ -26,6 +26,7 @@ function print_message(){ g.clear(); g.setColor(0xF800); g.drawString("sitting is dangerous!", g.getWidth()/2, g.getHeight()/2); + setTimeout(remind,settings.sitTime * 60000); } //init graphics require("Font8x12").add(Graphics); @@ -34,5 +35,4 @@ g.setFontAlign(0,0); g.flip(); print_message(); -setInterval(remind,settings.sitTime * 60000);