From 0e09e27d86d88b72618a6c6e752ed588f1c5ea3b Mon Sep 17 00:00:00 2001 From: Rob Pilling Date: Tue, 3 Jun 2025 21:52:04 +0100 Subject: [PATCH] clock_info: redraw BLE state after a delay to ensure we get an up-to-date state for the BLE chip --- apps/clock_info/lib.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/clock_info/lib.js b/apps/clock_info/lib.js index e7ed04ad8..9fdacab55 100644 --- a/apps/clock_info/lib.js +++ b/apps/clock_info/lib.js @@ -138,7 +138,7 @@ exports.load = function() { NRF.wake(); Bluetooth.setConsole(1); } - this.emit("redraw"); + setTimeout(() => this.emit("redraw"), 250); }, show: function(){}, hide: function(){},