bootgatthrm: whitespace

master
Rob Pilling 2024-04-20 17:41:37 +01:00
parent 3092be1f4b
commit 9b5295189e
1 changed files with 2 additions and 2 deletions

View File

@ -53,14 +53,14 @@
} catch (error) { } catch (error) {
if (error.message.includes("BLE restart")) { if (error.message.includes("BLE restart")) {
/* /*
* BLE has to restart after service setup. * BLE has to restart after service setup.
*/ */
if(!settings.keepConnected) if(!settings.keepConnected)
NRF.disconnect(); NRF.disconnect();
} }
else if (error.message.includes("UUID 0x2a37")) { else if (error.message.includes("UUID 0x2a37")) {
/* /*
* Setup service if it wasn't setup correctly for some reason * Setup service if it wasn't setup correctly for some reason
*/ */
setupHRMAdvertising(); setupHRMAdvertising();
} else { } else {