Only set ble active flag if on ble

This commit is contained in:
mmcw-dev 2017-12-23 22:22:36 -05:00
parent 72b127f134
commit 7ac6f89af9
1 changed files with 1 additions and 1 deletions

View File

@ -173,7 +173,7 @@ var setState = function (res) {
if (res.sequence == true) { if (res.sequence == true) {
STATE.sequence = true; STATE.sequence = true;
mobile.ble.active = true; if (mobile.ble) mobile.ble.active = true;
seqState(true); seqState(true);
} }
}; };