works on all major platforms (Linux, Windows, and Mac); and can be built with GCC, Clang, and MSVC compilers. The goal of UHD is to provide a host driver and API for current and future Ettus Research products. Users will be able to use the UHD driver standalone or with third-party applications such as: GNU Radio LabVIEW Simulink OpenBTS Submitted by: adrian@ Reviewed by: db@
14 lines
668 B
C
14 lines
668 B
C
--- firmware/fx2/common/i2c.h.orig 2012-07-30 14:09:48.000000000 -0500
|
|
+++ firmware/fx2/common/i2c.h 2012-10-07 19:34:39.000000000 -0500
|
|
@@ -24,9 +24,9 @@
|
|
#define _I2C_H_
|
|
|
|
// returns non-zero if successful, else 0
|
|
-unsigned char i2c_read (unsigned char addr, xdata unsigned char *buf, unsigned char len);
|
|
+unsigned char i2c_read (unsigned char addr, __xdata unsigned char *buf, unsigned char len);
|
|
|
|
// returns non-zero if successful, else 0
|
|
-unsigned char i2c_write (unsigned char addr, xdata const unsigned char *buf, unsigned char len);
|
|
+unsigned char i2c_write (unsigned char addr, __xdata const unsigned char *buf, unsigned char len);
|
|
|
|
#endif /* _I2C_H_ */
|