forked from M-Labs/artiq-zynq
parent
66fa70ef3c
commit
ba3015bffd
|
@ -6,7 +6,7 @@ use crate::{cxp_phys, cxp_proto, pl::csr::CXP};
|
||||||
|
|
||||||
pub fn loopback_testing(channel: usize, timer: &mut GlobalTimer, speed: cxp_phys::CXP_SPEED) {
|
pub fn loopback_testing(channel: usize, timer: &mut GlobalTimer, speed: cxp_phys::CXP_SPEED) {
|
||||||
println!("==============================================================================");
|
println!("==============================================================================");
|
||||||
cxp_phys::change_linerate(channel, timer, speed);
|
cxp_phys::change_linerate(speed);
|
||||||
|
|
||||||
unsafe {
|
unsafe {
|
||||||
info!("waiting for tx&rx setup...");
|
info!("waiting for tx&rx setup...");
|
||||||
|
|
Loading…
Reference in New Issue