Skip to content

Commit

Permalink
disconnect ble
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolas-f committed Jul 3, 2024
1 parent da3b7cd commit 646f359
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions services/pixljs_alert/pixljs_ble.js
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,8 @@ function switchStateInstall(newMode) {
["version", CODE_VERSION],
["answers", Object.fromEntries(currentForm)]
])));
} else if(mode==0) {
NRF.disconnect();
}
mode = newMode;
updateAdvertisement();
Expand Down

0 comments on commit 646f359

Please sign in to comment.