diff options
Diffstat (limited to 'firmware/fx2/b100/usrp_main.c')
-rw-r--r-- | firmware/fx2/b100/usrp_main.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/firmware/fx2/b100/usrp_main.c b/firmware/fx2/b100/usrp_main.c index f79d3d111..c5f481785 100644 --- a/firmware/fx2/b100/usrp_main.c +++ b/firmware/fx2/b100/usrp_main.c @@ -54,14 +54,14 @@ unsigned char g_tx_enable = 0; unsigned char g_rx_enable = 0; unsigned char g_rx_overrun = 0; unsigned char g_tx_underrun = 0; -bit enable_gpif = 0; +__bit enable_gpif = 0; /* * the host side fpga loader code pushes an MD5 hash of the bitstream * into hash1. */ #define USRP_HASH_SIZE 16 -xdata at USRP_HASH_SLOT_1_ADDR unsigned char hash1[USRP_HASH_SIZE]; +__xdata __at (USRP_HASH_SLOT_1_ADDR) unsigned char hash1[USRP_HASH_SIZE]; //void clear_fpga_data_fifo(void); @@ -220,7 +220,7 @@ main_loop (void) * Toggle led 0 */ void -isr_tick (void) interrupt +isr_tick (void) __interrupt { static unsigned char count = 1; @@ -239,8 +239,8 @@ isr_tick (void) interrupt void patch_usb_descriptors(void) { - static xdata unsigned char hw_rev; - static xdata unsigned char serial_no[SERIAL_NO_LEN]; + static __xdata unsigned char hw_rev; + static __xdata unsigned char serial_no[SERIAL_NO_LEN]; unsigned char i; eeprom_read(I2C_ADDR_BOOT, HW_REV_OFFSET, &hw_rev, 1); // LSB of device id |