1
0
Fork 0

upconn fw: fix compilation error

This commit is contained in:
morgan 2024-10-08 10:34:26 +08:00
parent 454fa455b6
commit 8260387a99
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@ pub fn tx_test(channel: usize, timer: &mut GlobalTimer) {
(CXP[channel].upconn_tx_enable_write)(1); (CXP[channel].upconn_tx_enable_write)(1);
timer.delay_us(2); // send one word timer.delay_us(2); // send one word
cxp_proto::read_u32(channel, 0x00).expect("Cannot Write CoaXpress Register"); // cxp_proto::read_u32(channel, 0x00).expect("Cannot Write CoaXpress Register");
// cxp_proto::write_u64(channel, 0x00, 0x01); // cxp_proto::write_u64(channel, 0x00, 0x01);
// cxp_proto::send(channel, &cxp_proto::Packet::EventAck { packet_tag: 0x04 }).expect("Cannot send CoaXpress packet"); // cxp_proto::send(channel, &cxp_proto::Packet::EventAck { packet_tag: 0x04 }).expect("Cannot send CoaXpress packet");
// cxp_proto::send(channel, &cxp_proto::Packet::TestPacket).expect("Cannot send CoaXpress packet"); // cxp_proto::send(channel, &cxp_proto::Packet::TestPacket).expect("Cannot send CoaXpress packet");