From fd0c455f29aa8a967bbbc3ed2ca9ac02a7371b67 Mon Sep 17 00:00:00 2001 From: Hugh Barney Date: Mon, 2 Jan 2023 22:35:08 +0000 Subject: [PATCH] fixed additionals semi-colons --- apps/simplestpp/app.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/apps/simplestpp/app.js b/apps/simplestpp/app.js index 31a65452f..0dcb883d3 100644 --- a/apps/simplestpp/app.js +++ b/apps/simplestpp/app.js @@ -17,7 +17,7 @@ function draw() { clockInfoMenu.redraw(); // clock_info_support queueDraw(); // queue draw in one minute -}; +} // timeout used to update every minute var drawTimeout; @@ -39,8 +39,8 @@ function queueDraw() { * length of the image+text * */ -function clockInfoDraw(itm, info, options) -{ +function clockInfoDraw(itm, info, options) { + g.reset().setFont('Vector',24).setBgColor(options.bg).setColor(options.fg); //use info.text.toString(), steps does not have length defined @@ -67,7 +67,7 @@ function clockInfoDraw(itm, info, options) g.setFontAlign(0,0).drawString(info.text, g.getWidth() / 2, options.y+12); } -}; +} /** * clock_info_support: retrieve all the clock_info modules that are