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++; }