diff --git a/firmware/src/main.rs b/firmware/src/main.rs index 9434adc..d54be42 100644 --- a/firmware/src/main.rs +++ b/firmware/src/main.rs @@ -434,7 +434,10 @@ mod app { to_vec_cobs::(&device_msg).unwrap(); serial.write(bytes.as_slice()).unwrap(); } - HostMessage::SetPLLOutputs(_) => { + HostMessage::SetPLLSettings(_) => { + defmt::error!("PLL output is not implemented yet") + } + HostMessage::GetPllSettings => { defmt::error!("PLL output is not implemented yet") } }, diff --git a/hostsoftware/src/main.rs b/hostsoftware/src/main.rs index 6aad15a..641e604 100644 --- a/hostsoftware/src/main.rs +++ b/hostsoftware/src/main.rs @@ -269,6 +269,7 @@ fn poll_device( .unwrap(); ctx.request_repaint(); } + DeviceMessage::PLLSettings(_) => {} } } Err(ref e) if e.kind() == io::ErrorKind::TimedOut => (), diff --git a/protocol/src/lib.rs b/protocol/src/lib.rs index b0e4a65..5503539 100644 --- a/protocol/src/lib.rs +++ b/protocol/src/lib.rs @@ -5,12 +5,14 @@ use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, PartialEq)] pub enum DeviceMessage { Status(StatusMessage), + PLLSettings(PLLSettings), } #[derive(Serialize, Deserialize, Debug, PartialEq)] pub enum HostMessage { RequestStatus, - SetPLLOutputs(PLLSettings), + SetPLLSettings(PLLSettings), + GetPllSettings, } #[derive(Serialize, Deserialize, Debug, PartialEq, Clone)]