2012-04-07 21:20:28 +02:00
|
|
|
|
|
|
|
#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 */
|
|
|
|
|
2013-01-01 13:05:59 +01:00
|
|
|
#ifdef VWII
|
|
|
|
#define gprintf(...)
|
|
|
|
#define InitGecko() false
|
|
|
|
#define hexdump( x, y )
|
|
|
|
#endif
|
|
|
|
|
2012-04-07 21:20:28 +02:00
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|