diff options
author | laforge <laforge@6dc7ffe9-61d6-0310-9af1-9938baff3ed1> | 2006-09-22 22:10:46 +0000 |
---|---|---|
committer | laforge <laforge@6dc7ffe9-61d6-0310-9af1-9938baff3ed1> | 2006-09-22 22:10:46 +0000 |
commit | 1ba82b71074e31e0a9451e80c2de4bca2716adf2 (patch) | |
tree | e5ea5d41d2487af9e7a38e8b1ca69d0a5707e526 /firmware/src/dfu/dbgu.h | |
parent | 706ffa9f3b986eff193377142459fbfde2362036 (diff) |
make sure DFU loader always prints some informational / copyright message upon startup
git-svn-id: https://svn.openpcd.org:2342/trunk@220 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
Diffstat (limited to 'firmware/src/dfu/dbgu.h')
-rw-r--r-- | firmware/src/dfu/dbgu.h | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/firmware/src/dfu/dbgu.h b/firmware/src/dfu/dbgu.h index 9f4f002..358a066 100644 --- a/firmware/src/dfu/dbgu.h +++ b/firmware/src/dfu/dbgu.h @@ -7,21 +7,19 @@ #define DEBUGPCR(x, args ...) DEBUGP(x "\r\n", ## args)
#define DEBUGPCRF(x, args ...) DEBUGPCR("%s(%d): " x, __FUNCTION__, __LINE__, ## args)
+extern void AT91F_DBGU_Init(void);
+extern void AT91F_DBGU_Printk(char *buffer);
+extern int AT91F_DBGU_Get(char *val);
+extern void AT91F_DBGU_Ready(void);
+
#ifdef DEBUG
extern void debugp(const char *format, ...);
extern const char *hexdump(const void *data, unsigned int len);
-extern void AT91F_DBGU_Init(void);
-extern void AT91F_DBGU_Printk(char *buffer);
extern void AT91F_DBGU_Frame(char *buffer);
-extern int AT91F_DBGU_Get(char *val);
#else
#define debugp(x, args ...)
#define hexdump(x, args ...)
-#define AT91F_DBGU_Get(x, args ...) 0;
#define AT91F_DBGU_Frame(x)
-#define AT91F_DBGU_Printk(x)
-#define AT91F_DBGU_Init()
-#define AT91F_DBGU_Ready()
#endif
#endif /* dbgu_h */
|