summaryrefslogtreecommitdiffstats
path: root/firmware
diff options
context:
space:
mode:
authorNick Foster <nick@nerdnetworks.org>2010-08-11 11:59:13 -0700
committerNick Foster <nick@nerdnetworks.org>2010-08-16 17:29:40 -0700
commit20d1f96f9594e299f8aef78cc70a587d1d87e289 (patch)
tree0294a1fc5e4c1e733bee6d95f9911cca198226a8 /firmware
parent5b5f8901f5dfa179af3718a8a31001206a886ed3 (diff)
downloaduhd-20d1f96f9594e299f8aef78cc70a587d1d87e289.tar.gz
uhd-20d1f96f9594e299f8aef78cc70a587d1d87e289.tar.bz2
uhd-20d1f96f9594e299f8aef78cc70a587d1d87e289.zip
syntax
Diffstat (limited to 'firmware')
-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.