downconn FW: fix compile err

This commit is contained in:
morgan 2025-01-16 10:50:25 +08:00
parent 1ff9205cc8
commit 40785507e9

View File

@ -11,11 +11,11 @@ pub fn loopback_testing(channel: usize, timer: &mut GlobalTimer, speed: cxp_phys
unsafe { unsafe {
info!("waiting for tx&rx setup..."); info!("waiting for tx&rx setup...");
timer.delay_us(50_000); timer.delay_us(50_000);
info!( // info!(
"tx_phaligndone = {} | rx_phaligndone = {}", // "tx_phaligndone = {} | rx_phaligndone = {}",
(CXP[channel].rx_txinit_phaligndone_read)(), // (CXP[channel].rx_txinit_phaligndone_read)(),
(CXP[channel].rx_rxinit_phaligndone_read)(), // (CXP[channel].rx_rxinit_phaligndone_read)(),
); // );
// enable txdata tranmission thought MGTXTXP, required by PMA loopback // enable txdata tranmission thought MGTXTXP, required by PMA loopback
// (CXP[channel].rx_txenable_write)(1); // (CXP[channel].rx_txenable_write)(1);