From 8b27c004d42f846017167a40a6a5e452c15827ca Mon Sep 17 00:00:00 2001 From: Christopher Roy Bratusek Date: Thu, 3 May 2012 21:47:49 +0200 Subject: [PATCH] missing header --- boot/source/gecko.h | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 boot/source/gecko.h diff --git a/boot/source/gecko.h b/boot/source/gecko.h new file mode 100644 index 0000000..029257c --- /dev/null +++ b/boot/source/gecko.h @@ -0,0 +1,29 @@ + +#ifndef _GECKO_H_ +#define _GECKO_H_ + +#ifdef __cplusplus +extern "C" +{ +#endif + + char ascii(char s); + +#ifndef NO_DEBUG + //use this just like printf(); + void gprintf(const char *str, ...); + bool InitGecko(); + void hexdump(void *d, int len); + void USBGeckoOutput(); +#else +#define gprintf(...) +#define InitGecko() false +#define hexdump( x, y ) +#endif /* NO_DEBUG */ + +#ifdef __cplusplus +} +#endif + +#endif +