From 6c81ec42bf3491f0e85e1e9cb6d8c1e2b23cf12f Mon Sep 17 00:00:00 2001 From: Grace Date: Fri, 1 May 2026 16:22:04 +0100 Subject: [PATCH] Start DFU as foreground service --- .../microbit-connection/src/bluetooth/flashing/nordic-dfu.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/microbit-connection/src/bluetooth/flashing/nordic-dfu.ts b/packages/microbit-connection/src/bluetooth/flashing/nordic-dfu.ts index b515de6..ea88250 100644 --- a/packages/microbit-connection/src/bluetooth/flashing/nordic-dfu.ts +++ b/packages/microbit-connection/src/bluetooth/flashing/nordic-dfu.ts @@ -146,7 +146,7 @@ export async function flashDfu( restoreBond: true, }, }[boardVersion], - startAsForegroundService: false, + startAsForegroundService: true, keepBond: true, packetReceiptNotificationsEnabled: true, }