NTP Client for the "old" NetServices libraries

Dependents:   NTPClientExample server1 server2 RFID2Twitter ... more

Revision:
3:1849420bb9a9
Parent:
1:1f436e56925f
Child:
4:7c3f1199256a
--- a/LPC1768/dbg/dbg.h	Fri Jun 18 09:36:36 2010 +0000
+++ b/LPC1768/dbg/dbg.h	Fri Jul 09 14:46:52 2010 +0000
@@ -47,7 +47,7 @@
 #undef DBG
 #undef DBG_END
 #undef BREAK
-#define DBG DebugStream::debug
+#define DBG(...) do{ DebugStream::debug("[%s:%s@%d] ", __FILE__, __FUNCTION__, __LINE__); DebugStream::debug(__VA_ARGS__); } while(0);
 #define DBG_END DebugStream::release
 #define BREAK() DebugStream::breakPoint(__FILE__, __LINE__)
 #endif