forked from ROMEO/obsw
adding mutexes, cleaning up types
This commit is contained in:
@ -43,7 +43,7 @@ typedef s32 (*func_ptr)(int c);
|
||||
void xil_printf( const char8 *ctrl1, ...);
|
||||
void xil_vprintf(const char8 *ctrl1, va_list argp);
|
||||
void print( const char8 *ptr);
|
||||
extern void outbyte (char c);
|
||||
extern void outbyte (uint8_t c);
|
||||
extern char inbyte(void);
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
@ -8,12 +8,12 @@
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
void outbyte(char c);
|
||||
void outbyte(uint8_t c);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
void outbyte(char c) {
|
||||
void outbyte(uint8_t c) {
|
||||
XUartPs_SendByte(STDOUT_BASEADDRESS, c);
|
||||
}
|
||||
|
Reference in New Issue
Block a user