Skip to content

Commit 0e09e27

Browse files
committed
clock_info: redraw BLE state after a delay
to ensure we get an up-to-date state for the BLE chip
1 parent 12d64a6 commit 0e09e27

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/clock_info/lib.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ exports.load = function() {
138138
NRF.wake();
139139
Bluetooth.setConsole(1);
140140
}
141-
this.emit("redraw");
141+
setTimeout(() => this.emit("redraw"), 250);
142142
},
143143
show: function(){},
144144
hide: function(){},

0 commit comments

Comments
 (0)