bootgatthrm: whitespace
parent
3092be1f4b
commit
9b5295189e
|
|
@ -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 {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue