This is the mail archive of the
ecos-patches@sources.redhat.com
mailing list for the eCos project.
I2C DEBUG() macro fix
- From: Peter Korsgaard <jacmet at sunsite dot dk>
- To: ecos-patches at ecos dot sourceware dot org
- Date: Thu, 28 Apr 2005 19:31:36 +0200
- Subject: I2C DEBUG() macro fix
Hi,
The following patch corrects a typo in the I2C DEBUG() macro.
Index: packages/io/i2c/current/ChangeLog
===================================================================
RCS file: /cvs/ecos/ecos/packages/io/i2c/current/ChangeLog,v
retrieving revision 1.2
diff -u -r1.2 ChangeLog
--- packages/io/i2c/current/ChangeLog 21 Apr 2005 19:04:57 -0000 1.2
+++ packages/io/i2c/current/ChangeLog 28 Apr 2005 12:26:43 -0000
@@ -1,3 +1,7 @@
+2005-04-28 Peter Korsgaard <jacmet@sunsite.dk>
+
+ * src/i2c.cxx: Corrected DEBUG macro.
+
2005-04-21 Andrew Lunn <andrew.lunn@ascom.ch>
* doc/i2c.sgml: Replaced a _ with a - to keep jade happy.
Index: packages/io/i2c/current/src/i2c.cxx
===================================================================
RCS file: /cvs/ecos/ecos/packages/io/i2c/current/src/i2c.cxx,v
retrieving revision 1.1
diff -u -r1.1 i2c.cxx
--- packages/io/i2c/current/src/i2c.cxx 20 Apr 2005 12:25:28 -0000 1.1
+++ packages/io/i2c/current/src/i2c.cxx 28 Apr 2005 12:26:43 -0000
@@ -237,7 +237,7 @@
#if 1
# define DEBUG(_format_, ...)
#else
-# define DEBUG(_format_, ...) diag_printf(format, ## __VA_ARGS__)
+# define DEBUG(_format_, ...) diag_printf(_format_, ## __VA_ARGS__)
#endif
--
Bye, Peter Korsgaard