fix losing pl2303 input at the price of losing some input bytes sometimes.

This commit is contained in:
Vladimir 'phcoder' Serbinenko committed 2010-07-19 00:12:59 +02:00
1 parent 9685412782
commit ac2534273b
2 files changed
+14 -3

No files matched your search

+2
View File
@@ -67,6 +67,8 @@ struct grub_serial_port
struct grub_serial_driver *driver;
struct grub_serial_config config;
int configured;
char buf[64];
int bufstart, bufend;
/* This should be void *data but since serial is useful as an early console
when malloc isn't available it's a union.
*/