We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7a2b8e4 + 6c306ec commit 872672dCopy full SHA for 872672d
1 file changed
src/extensions/microbitMore/index.js
@@ -858,6 +858,12 @@ class MbitMore {
858
this.soundLevel = dataView.getUint8(6);
859
this.resetConnectionTimeout();
860
resolve(this);
861
+ })
862
+ .catch(err => {
863
+ window.clearTimeout(this.bleBusyTimeoutID);
864
+ this.bleBusy = false;
865
+ log.error(err);
866
+ resolve(this);
867
});
868
869
}
@@ -999,6 +1005,12 @@ class MbitMore {
999
1005
this.magneticForce.z = dataView.getInt16(16, true);
1000
1006
1001
1007
1008
1009
1010
1011
1012
1013
1002
1014
1003
1015
1004
1016
0 commit comments