tty: fix bugs in the maywait changes
authorAlan Cox <alan@linux.intel.com>
Tue, 15 Aug 2017 21:28:55 +0000 (22:28 +0100)
committerAlan Cox <alan@linux.intel.com>
Tue, 15 Aug 2017 21:28:55 +0000 (22:28 +0100)
commit3a48f39e006f3503f053dc6183b7a33308e5dfda
tree50821cdfbeb62503f340238e255c7315d55e90ae
parentec8887855fc69f703aec6290e0aec6cc0688c2f1
tty: fix bugs in the maywait changes

(Courtesy of Brett and combined with my change to use uint8_t to make it work
 more nicely on Z80)
Kernel/include/tty.h
Kernel/tty.c