Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Igigog committed Oct 23, 2023
1 parent 86d8074 commit b9d9d1f
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src-tauri/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -330,10 +330,6 @@ fn save_config(connection_state: State<'_, Mutex<ConnectionState>>) -> Result<()

#[tauri::command]
fn load_config(connection_state: State<'_, Mutex<ConnectionState>>) -> Result<Config, String> {
let mut buf: Vec<u8> = Vec::new();
buf.extend_from_slice(&(StructureTypes::GetStoredConfiguration as u16).to_le_bytes());
buf.extend_from_slice(&(4u16).to_le_bytes());

let binding = send_cmd(connection_state, GetStoredConfiguration::new());
let cfg = match &binding {
Ok(x) => x,
Expand Down

0 comments on commit b9d9d1f

Please sign in to comment.