Explicitly use USB I/O routines in packet code
authorKeith Packard <keithp@keithp.com>
Thu, 5 Nov 2009 05:42:51 +0000 (21:42 -0800)
committerKeith Packard <keithp@keithp.com>
Thu, 5 Nov 2009 05:42:51 +0000 (21:42 -0800)
commit036400a2db303f3db3be7cc0426f88359c6bd2b1
treeea31afcdca2dd039638f6d416b62a4022aabaf0c
parent3ece984f4d72b4f720a5efdfaad7cff77a93d676
Explicitly use USB I/O routines in packet code

Using the implicit stdio functions (putchar/getchar/flush) would
result in essentially random redirection of each, depending on whether
the packet code had characters available when getchar was called. This
would cause lockups in putchar.

Signed-off-by: Keith Packard <keithp@keithp.com>
src/ao_packet_master.c