api: update csr

This commit is contained in:
morgan 2025-01-14 15:03:27 +08:00
parent d9c13a742d
commit f6e83aeb25

View File

@ -81,7 +81,7 @@ pub extern "C" fn cxp_debug_frame_print() {
// } // }
println!( println!(
"Decode error = {}", "Decode error = {}",
(CXP[MASTER_CHANNEL as usize].rx_bootstrap_decoder_err_read)() (CXP[MASTER_CHANNEL as usize].rx_reader_decode_err_read)()
); );
println!("Trigger ack = {}", (CXP[MASTER_CHANNEL as usize].rx_trigger_ack_read)()); println!("Trigger ack = {}", (CXP[MASTER_CHANNEL as usize].rx_trigger_ack_read)());
if (CXP[MASTER_CHANNEL as usize].rx_trigger_ack_read)() == 1 { if (CXP[MASTER_CHANNEL as usize].rx_trigger_ack_read)() == 1 {