Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
65 changes: 45 additions & 20 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions console_backend/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ directories = "4"
anyhow = { version = "1", features = ["backtrace"] }
serde_yaml = "0.8.24"
clap = { version = "3.2.5", features = ["derive"] }
indexmap = { version = "1.8.2", features = ["serde"] }
indexmap = { version = "1.9.1", features = ["serde"] }
serde_json = { version = "1" }
crossbeam = "0.8"
rand = "0.8.5"
Expand All @@ -41,7 +41,7 @@ parking_lot = "0.12.1"
regex = { version = "1.5.6" }
rust-ini = "0.18.0"
sbp = { version = "4.4.0", features = ["json", "link", "swiftnav"] }
sbp-settings = "0.6.12"
sbp-settings = "0.6.13"
env_logger = { version = "0.9", optional = true }
mimalloc = { version = "0.1", default-features = false }
indicatif = { version = "0.16", optional = true }
Expand Down
1 change: 1 addition & 0 deletions console_backend/src/server.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#![allow(clippy::borrow_deref_ref)] // Waiting on this to merge: https://github.com/rust-lang/rust-clippy/issues/8971
use crossbeam::channel;
use pyo3::exceptions;
use pyo3::prelude::*;
Expand Down
2 changes: 1 addition & 1 deletion console_backend/src/shared_state.rs
Original file line number Diff line number Diff line change
Expand Up @@ -727,7 +727,7 @@ enum FlowControlRemote {
Hardware,
}

#[derive(Debug, PartialEq, Serialize, Deserialize)]
#[derive(Debug, PartialEq, Eq, Serialize, Deserialize)]
pub struct ConnectionHistory {
addresses: IndexSet<Address>,
files: IndexSet<String>,
Expand Down
2 changes: 1 addition & 1 deletion console_backend/src/solution_tab.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ use crate::shared_state::SharedState;
use crate::types::{Deque, Dops, GnssModes, GpsTime, PosLLH, UtcDateTime, VelNED};
use crate::utils::*;

#[derive(Debug, Clone, PartialEq)]
#[derive(Debug, Clone, PartialEq, Eq)]
pub enum LatLonUnits {
Degrees,
Meters,
Expand Down
4 changes: 2 additions & 2 deletions console_backend/src/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ impl Clone for ArcBool {
}

// Main Tab Types.
#[derive(Clone, Copy, Debug, PartialEq)]
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
pub enum RealtimeDelay {
On,
Off,
Expand Down Expand Up @@ -1479,7 +1479,7 @@ impl Event for BaselineNED {
}

// Solution Velocity Tab Types.
#[derive(Debug, Clone, PartialEq)]
#[derive(Debug, Clone, PartialEq, Eq)]
pub enum VelocityUnits {
Mps,
Mph,
Expand Down
11 changes: 3 additions & 8 deletions console_backend/src/update_tab.rs
Original file line number Diff line number Diff line change
Expand Up @@ -220,14 +220,9 @@ fn update_frontend(client_sender: BoxedClientSender, mut update_tab_context: Upd
status.set_fw_version_current(&packet.current_firmware_version);
status.set_fw_version_latest(&packet.latest_firmware_version);
status.set_fw_local_filename(&packet.firmware_filename);
status.set_fileio_local_filepath(&packet.fileio_local_filepath.to_string_lossy().to_string());
status.set_fileio_destination_filepath(
&packet
.fileio_destination_filepath
.to_string_lossy()
.to_string(),
);
status.set_directory(&packet.firmware_directory.to_string_lossy().to_string());
status.set_fileio_local_filepath(&packet.fileio_local_filepath.to_string_lossy());
status.set_fileio_destination_filepath(&packet.fileio_destination_filepath.to_string_lossy());
status.set_directory(&packet.firmware_directory.to_string_lossy());
status.set_downloading(packet.downloading);
status.set_upgrading(packet.upgrading);
status.set_fw_text(&packet.fw_log);
Expand Down
2 changes: 1 addition & 1 deletion console_backend/src/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ pub fn refresh_connection_frontend(client_sender: &BoxedClientSender, shared_sta
.init_available_ports(ports.len() as u32);

for (i, serialportinfo) in ports.iter().enumerate() {
available_ports.set(i as u32, &(*serialportinfo));
available_ports.set(i as u32, serialportinfo);
}

let mut available_baudrates = connection_status
Expand Down
2 changes: 1 addition & 1 deletion installers/macOS/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@
<key>CFBundleVersion</key>
<string>@@VERSION@@</string>
</dict>
</plist>
</plist>