mirror of https://github.com/espruino/BangleApps
ClockFace: make `tick` a "ram" function
Should allow clocks to update without waking flash storage if their `update` runs in "ram" as well.pull/2046/head
parent
ba58178ab3
commit
fed49792de
|
@ -49,6 +49,7 @@ function ClockFace(options) {
|
|||
}
|
||||
|
||||
ClockFace.prototype.tick = function() {
|
||||
"ram"
|
||||
const time = new Date();
|
||||
const now = {
|
||||
d: `${time.getFullYear()}-${time.getMonth()}-${time.getDate()}`,
|
||||
|
|
Loading…
Reference in New Issue