lxterm: Increase maximum payload size to match BIOS

sfl_frame (in sfl.h) already had a payload size of 255.

This should give about a 10% speed gain due to reduced overhead. 8 bytes
of header per 251 bytes sent, as opposed to 8 bytes of header per 60
bytes sent
This commit is contained in:
David Lattimore 2020-12-03 13:38:05 +11:00
parent 03c2257baf
commit b421d50b40
1 changed files with 1 additions and 1 deletions

View File

@ -58,7 +58,7 @@ sfl_prompt_ack = b"\x06"
sfl_magic_req = b"sL5DdSMmkekro\n" sfl_magic_req = b"sL5DdSMmkekro\n"
sfl_magic_ack = b"z6IHG7cYDID6o\n" sfl_magic_ack = b"z6IHG7cYDID6o\n"
sfl_payload_length = 64 sfl_payload_length = 255
# General commands # General commands
sfl_cmd_abort = b"\x00" sfl_cmd_abort = b"\x00"