version 4.2.0
[fx2fw-sdcc] / fx2 / i2c.h
index 2be98ad..d681e8c 100644 (file)
--- a/fx2/i2c.h
+++ b/fx2/i2c.h
@@ -1,60 +1,30 @@
 /* -*- c++ -*- */\r
-\r
 /*-----------------------------------------------------------------------------\r
-\r
  * I2C read/write functions for FX2\r
-\r
  *-----------------------------------------------------------------------------\r
-\r
  * Code taken from USRP2 firmware (GNU Radio Project), version 3.0.2,\r
-\r
  * Copyright 2003 Free Software Foundation, Inc.\r
-\r
  *-----------------------------------------------------------------------------\r
-\r
  * This code is part of usbjtag. usbjtag is free software; you can redistribute\r
-\r
  * it and/or modify it under the terms of the GNU General Public License as\r
-\r
  * published by the Free Software Foundation; either version 2 of the License,\r
-\r
  * or (at your option) any later version. usbjtag is distributed in the hope\r
-\r
  * that it will be useful, but WITHOUT ANY WARRANTY; without even the implied\r
-\r
  * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\r
-\r
  * GNU General Public License for more details.  You should have received a\r
-\r
  * copy of the GNU General Public License along with this program in the file\r
-\r
  * COPYING; if not, write to the Free Software Foundation, Inc., 51 Franklin\r
-\r
  * St, Fifth Floor, Boston, MA  02110-1301  USA\r
-\r
  *-----------------------------------------------------------------------------\r
-\r
  */\r
 \r
-\r
-\r
 #ifndef _I2C_H_\r
-\r
 #define _I2C_H_\r
 \r
-\r
-\r
 // returns non-zero if successful, else 0\r
-\r
 unsigned char i2c_read (unsigned char addr, xdata unsigned char *buf, unsigned char len);\r
 \r
-\r
-\r
 // returns non-zero if successful, else 0\r
-\r
 unsigned char i2c_write (unsigned char addr, xdata const unsigned char *buf, unsigned char len);\r
 \r
-\r
-\r
 #endif /* _I2C_H_ */\r
-\r