diff --git a/src/libboard_artiq/src/cxp_downconn.rs b/src/libboard_artiq/src/cxp_downconn.rs index bb187d5..d44020f 100644 --- a/src/libboard_artiq/src/cxp_downconn.rs +++ b/src/libboard_artiq/src/cxp_downconn.rs @@ -9,7 +9,7 @@ pub struct CXP_DownConn_Settings { pub qpll_fbdiv: u8, } -#[derive(Clone, Copy)] +#[derive(Clone, Copy, Debug)] #[allow(non_camel_case_types)] pub enum CXP_SPEED { CXP_1, @@ -147,6 +147,7 @@ pub fn setup(timer: &mut GlobalTimer, speed: CXP_SPEED) { } pub fn change_linerate(timer: &mut GlobalTimer, speed: CXP_SPEED) { + info!("Changing datarate to {:?}", speed); // DEBUG: DRP pll for TXUSRCLK = freq(linerate)/20 let settings = txusrclk::get_txusrclk_config(speed); txusrclk::setup(timer, settings);