Skip to content

Commit c03021e

Browse files
committed
Release v0.2.6
1 parent fe0b319 commit c03021e

File tree

6 files changed

+8
-6
lines changed

6 files changed

+8
-6
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "telemetry-parser"
3-
version = "0.2.5"
3+
version = "0.2.6"
44
authors = ["Adrian <[email protected]>"]
55
edition = "2021"
66
license = "MIT OR Apache-2.0"

bin/gyro2bb/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "gyro2bb"
3-
version = "0.2.5"
3+
version = "0.2.6"
44
authors = ["Adrian <[email protected]>"]
55
edition = "2021"
66

bin/gyro2bb/gyro2bb.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ use std::sync::{ Arc, atomic::AtomicBool };
88
use telemetry_parser::*;
99
use telemetry_parser::tags_impl::*;
1010

11-
/** gyro2bb v0.2.5
11+
/** gyro2bb v0.2.6
1212
Author: Adrian <[email protected]>
1313
1414
Extract gyro data from Sony, GoPro and Insta360 cameras to betaflight blackbox csv log

bin/python-module/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "telemetry-parser-py"
3-
version = "0.2.5"
3+
version = "0.2.6"
44
authors = ["Adrian <[email protected]>"]
55
edition = "2021"
66

bin/wasm-module/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "telemetry-parser-wasm"
3-
version = "0.2.5"
3+
version = "0.2.6"
44
authors = ["Adrian <[email protected]>"]
55
edition = "2021"
66

src/lib.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,9 @@ macro_rules! impl_formats {
3232
}
3333
impl Input {
3434
pub fn from_stream<T: Read + Seek, P: AsRef<std::path::Path>, F: Fn(f64)>(stream: &mut T, size: usize, filepath: P, progress_cb: F, cancel_flag: Arc<AtomicBool>) -> Result<Input> {
35-
let read_mb = if size as u64 > 5u64*1024*1024*1024 { // If file is greater than 5 GB, read 10 MB header/footer
35+
let read_mb = if size as u64 > 30u64*1024*1024*1024 { // If file is greater than 30 GB, read 30 MB header/footer
36+
30
37+
} else if size as u64 > 5u64*1024*1024*1024 { // If file is greater than 5 GB, read 10 MB header/footer
3638
10
3739
} else {
3840
2

0 commit comments

Comments
 (0)