1
0
Fork 0
mirror of https://github.com/iNavFlight/inav-configurator.git synced 2025-07-16 12:55:13 +03:00

Update onboard_logging.js

This commit is contained in:
breadoven 2021-08-11 16:23:12 +01:00
parent b7bc81bc8d
commit ce3faac6e6

View file

@ -354,9 +354,7 @@ TABS.onboard_logging.initialize = function (callback) {
const filename = 'blackbox_log_' + date.getFullYear() + '-' + zeroPad(date.getMonth() + 1, 2) + '-'
+ zeroPad(date.getDate(), 2) + '_' + zeroPad(date.getHours(), 2) + zeroPad(date.getMinutes(), 2)
+ zeroPad(date.getSeconds(), 2);
const accepts = [{
description: 'TXT files', extensions: ['txt'],
}];
const accepts = '.txt';
nwdialog.setContext(document);
nwdialog.saveFileDialog(filename, accepts, '', function(file) {