fix losing pl2303 input at the price of losing some input bytes sometimes.
This commit is contained in:
parent
9685412782
commit
ac2534273b
2 changed files with 14 additions and 3 deletions
|
@ -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.
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue