forked from M-Labs/artiq-zynq
upconn fw: fix compilation error
This commit is contained in:
parent
454fa455b6
commit
8260387a99
|
@ -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");
|
||||||
|
|
Loading…
Reference in New Issue