From 07dea734f23805b7f6fc77d791f274cd953646f8 Mon Sep 17 00:00:00 2001 From: dapgo Date: Tue, 3 Jan 2023 11:12:58 +0100 Subject: [PATCH] mini corrections --- apps/tempmonitor/interface.html | 2 +- apps/widhwbttm/widhwbttm.wid.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/tempmonitor/interface.html b/apps/tempmonitor/interface.html index 12a63979d..02d1fed91 100644 --- a/apps/tempmonitor/interface.html +++ b/apps/tempmonitor/interface.html @@ -31,7 +31,7 @@ function getData() { Month Day - Time + Time HH:mm temperature `+data.trim().split("\n").map(l=>{ l = l.split(";"); diff --git a/apps/widhwbttm/widhwbttm.wid.js b/apps/widhwbttm/widhwbttm.wid.js index 650cc0ff7..551e2005b 100644 --- a/apps/widhwbttm/widhwbttm.wid.js +++ b/apps/widhwbttm/widhwbttm.wid.js @@ -20,7 +20,7 @@ v_str_hw="Bat "+E.getBattery()+"%"; v_count++; } - else if (v_count==3 && v_model.substr(0,6)=='BANGLE') { + else if (v_count==3 && process.env.BOARD.substr(0,6)=='BANGLE') { v_str_hw="Tmp "+E.getTemperature(); v_count++; }