mirror of
https://github.com/wiidev/usbloadergx.git
synced 2024-11-18 01:09:16 +01:00
9e79c9d99b
* code cleanup
32 lines
404 B
C
32 lines
404 B
C
|
|
|
|
#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 );
|
|
#else
|
|
#define gprintf(...)
|
|
#define InitGecko() false
|
|
#define hexdump( x, y )
|
|
#endif /* NO_DEBUG */
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|
|
|