Skip to content

Commit

Permalink
Small HALO tweaks to controls
Browse files Browse the repository at this point in the history
  • Loading branch information
keesverruijt committed Oct 14, 2024
1 parent 5d32a7d commit 6832a3b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 0 additions & 2 deletions src/navico/command.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
use log::{debug, trace};
use num_traits::ToPrimitive;
use std::cmp::{max, min};
use tokio::net::UdpSocket;

use crate::radar::{RadarError, RadarInfo, SharedRadars};
Expand Down
4 changes: 2 additions & 2 deletions src/navico/settings.rs
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ pub fn update_when_model_known(controls: &mut Controls, model: Model, radar_info
ControlType::Mode,
Control::new_list(
ControlType::Mode,
&["Custom", "Harbor", "Offshore", "Unknown", "Weather", "Bird"],
&["Custom", "Harbor", "Offshore", "Buoy", "Weather", "Bird"],
),
);
controls.insert(
Expand Down Expand Up @@ -212,7 +212,7 @@ pub fn update_when_model_known(controls: &mut Controls, model: Model, radar_info
Control::new_list(
ControlType::ScanSpeed,
if model == Model::HALO {
&["Normal", "Medium", "", "Fast"]
&["Normal", "Medium", "Medium Plus", "Fast"]
} else {
&["Normal", "Fast"]
},
Expand Down

0 comments on commit 6832a3b

Please sign in to comment.