Commit 6299487ef5dcdb06e0394f5955755c8dd9ce707b
Committed by
Remy Bohmer
1 parent
25374bfbf3
Exists in
master
and in
55 other branches
USBTTY make some function declarations easier to use.
Zoom2 needs to use these declarations and the include directory is a better place from them than in the middle of the driver directory. It did not make sense to create a new file for just a couple of lines so they were appended to the serial.h Signed-off-by: Tom Rix <Tom.Rix@windriver.com>
Showing 1 changed file with 6 additions and 0 deletions Side-by-side Diff
include/serial.h
... | ... | @@ -66,5 +66,11 @@ |
66 | 66 | extern int serial_assign(char * name); |
67 | 67 | extern void serial_reinit_all(void); |
68 | 68 | |
69 | +/* For usbtty */ | |
70 | +extern int usbtty_getc(void); | |
71 | +extern void usbtty_putc(const char c); | |
72 | +extern void usbtty_puts(const char *str); | |
73 | +extern int usbtty_tstc(void); | |
74 | + | |
69 | 75 | #endif |