mirror of
https://github.com/betaflight/betaflight-configurator.git
synced 2025-07-19 14:25:14 +03:00
feat: use modules for common utils
This commit is contained in:
parent
d5d0146af7
commit
ef68bb170f
5 changed files with 33 additions and 27 deletions
|
@ -86,10 +86,6 @@ function generateData(firmware, input, startAddress) {
|
|||
firmware.bytes_total += input.length;
|
||||
}
|
||||
|
||||
function microtime() {
|
||||
return new Date().getTime() / 1000;
|
||||
}
|
||||
|
||||
ConfigInserter.prototype.insertConfig = function (firmware, input) {
|
||||
const timeParsingStart = microtime(); // track time
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue