9 #define SERIAL_TIMEOUT -2
13 void send_buffer(bool crlf);
14 void send_string(char* s);
17 int serial_readchar(u8 timeout);
18 void serial_write(const char *str, int len);
19 #define wait_for_tx_free() do { } while(0)
21 extern char sci_tx_buf[BUFFER_LEN];
22 extern volatile char sci_rx_buf[BUFFER_LEN];
23 extern volatile u8 sci_have_packet;
24 extern volatile bool sci_echo;
25 extern bool sci_doing_xmodem;