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:
parent
cb0d9f3a66
commit
934e648e18
3 changed files with 6 additions and 7 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue