#include <uart.h>
#include <uart_private.h>
-
/* this file os a stub for host */
void uart_init(void)
return put_char(c);
}
-void uart_register_tx_event(uint8_t num, void (*f)(char))
-{
- tx_event = f;
-}
-
-void uart_register_rx_event(uint8_t num, void (*f)(char))
-{
- rx_event = f;
-}