mirror of
https://github.com/iNavFlight/inav-configurator.git
synced 2025-07-15 12:25:13 +03:00
more robust approach
This commit is contained in:
parent
7d4e7f8310
commit
0339f87d86
1 changed files with 1 additions and 1 deletions
|
@ -75,7 +75,7 @@ function configuration_backup() {
|
|||
if (!truncated) {
|
||||
// onwriteend will be fired again when truncation is finished
|
||||
truncated = true;
|
||||
writer.truncate(serialized_config_object.length);
|
||||
writer.truncate(blob.size);
|
||||
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue