1
0
Fork 0
mirror of https://github.com/betaflight/betaflight-configurator.git synced 2025-07-18 05:45:25 +03:00

feat: use modules for common utils

This commit is contained in:
Tomas Chmelevskij 2021-01-01 22:01:42 +04:00
parent d5d0146af7
commit ef68bb170f
5 changed files with 33 additions and 27 deletions

View file

@ -93,10 +93,6 @@ function read_hex_file(data) {
}
}
function microtime() {
return new Date().getTime() / 1000;
}
onmessage = function(event) {
const timeParsingStart = microtime(); // track time