aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--firmware/microblaze/apps/txrx_uhd.c4
-rw-r--r--firmware/microblaze/lib/spi.c1
2 files changed, 3 insertions, 2 deletions
diff --git a/firmware/microblaze/apps/txrx_uhd.c b/firmware/microblaze/apps/txrx_uhd.c
index 82e2e2b6f..6fb01fec2 100644
--- a/firmware/microblaze/apps/txrx_uhd.c
+++ b/firmware/microblaze/apps/txrx_uhd.c
@@ -276,7 +276,7 @@ void handle_udp_ctrl_packet(
num_bytes
);
i2c_src = src;
- i2c_dst = dst;
+// i2c_dst = dst;
ctrl_data_out.id = USRP2_CTRL_ID_HERES_THE_I2C_DATA_DUDE;
ctrl_data_out.data.i2c_args.bytes = num_bytes;
}
@@ -291,7 +291,7 @@ void handle_udp_ctrl_packet(
num_bytes
);
i2c_src = src;
- i2c_dst = dst;
+// i2c_dst = dst;
ctrl_data_out.id = USRP2_CTRL_ID_COOL_IM_DONE_I2C_WRITE_DUDE;
ctrl_data_out.data.i2c_args.bytes = num_bytes;
}
diff --git a/firmware/microblaze/lib/spi.c b/firmware/microblaze/lib/spi.c
index 4371b9b8a..33fcce05f 100644
--- a/firmware/microblaze/lib/spi.c
+++ b/firmware/microblaze/lib/spi.c
@@ -17,6 +17,7 @@
#include "spi.h"
#include "memory_map.h"
+#include "pic.h"
#include "nonstdio.h"
void (*volatile spi_callback)(void); //SPI callback when xfer complete.