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