Skip to content

Commit

Permalink
deploy: 65f39ce
Browse files Browse the repository at this point in the history
  • Loading branch information
yokobond committed Apr 13, 2021
1 parent 8b2486d commit 1d7aadb
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dev/dist/microbitMore.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -16791,7 +16791,7 @@ var MbitMoreBlocks = /*#__PURE__*/function () {

return this._peripheral.configMic(true, util).then(function (micState) {
if (micState) {
return _this16._peripheral.readSoundLevel();
return Math.round(_this16._peripheral.readSoundLevel() * 1000 / 255) / 10;
}

return 0;
Expand Down
2 changes: 1 addition & 1 deletion dev/lib.min.js
Original file line number Diff line number Diff line change
Expand Up @@ -284857,7 +284857,7 @@ var MbitMoreBlocks = /*#__PURE__*/function () {

return this._peripheral.configMic(true, util).then(function (micState) {
if (micState) {
return _this16._peripheral.readSoundLevel();
return Math.round(_this16._peripheral.readSoundLevel() * 1000 / 255) / 10;
}

return 0;
Expand Down
2 changes: 1 addition & 1 deletion dev/lib.min.js.map

Large diffs are not rendered by default.

0 comments on commit 1d7aadb

Please sign in to comment.