Fix define data error
parent
0875f516a1
commit
274b51853f
|
|
@ -20,7 +20,7 @@
|
|||
|
||||
function draw() {
|
||||
let batt=E.getBattery();
|
||||
data = require("smartbatt").get();
|
||||
let data = require("smartbatt").get();
|
||||
let hrsLeft=data.hrsLeft;
|
||||
let days = hrsLeft / 24;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue