1
0
Fork 0
mirror of https://github.com/betaflight/betaflight-configurator.git synced 2025-07-23 08:15:22 +03:00

feat: use console.time in all places

Remove `microtime` and console log in favour of `console.time`
This commit is contained in:
Tomas Chmelevskij 2021-02-14 07:25:19 +01:00
parent cb0d9f3a66
commit 934e648e18
3 changed files with 6 additions and 7 deletions

View file

@ -1,9 +1,5 @@
import semver from "semver";
export function microtime() {
return new Date().getTime() / 1000;
}
export function millitime() {
return new Date().getTime();
}
@ -85,3 +81,4 @@ window.degToRad = degToRad;
window.bytesToSize = bytesToSize;
window.checkChromeRuntimeError = checkChromeRuntimeError;
window.generateVirtualApiVersions = generateVirtualApiVersions;
window.millitime = millitime;