Skip to content

Commit d4a777a

Browse files
RKBoss6bobrippling
andauthored
Apply suggestion from @bobrippling
Co-authored-by: Rob Pilling <robpilling@gmail.com>
1 parent 6aa2027 commit d4a777a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/smartbatt/clkinfo.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
var s=24,g=Graphics.createArrayBuffer(24,24,1,{msb:true});
2727
g.fillRect(0,6,s-3,18).clearRect(2,8,s-5,16).fillRect(s-2,10,s,15).fillRect(3,9,3+batt*(s-9)/100,15);
2828
g.transparent=0;
29-
img=g.asImage("string");
29+
return g.asImage("string");
3030
}
3131

3232
//calls both updates for values and icons.

0 commit comments

Comments
 (0)