diff options
| author | Pali Rohár <[email protected]> | 2021-08-06 18:07:39 +0200 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2021-09-01 19:25:37 -0400 |
| commit | 515381414d5ce2032fbee6bb55206061660762bb (patch) | |
| tree | 6a32a08561e1ff53fd8290cbd159e5c4024fa8eb /scripts | |
| parent | e199fb35b4a04aa80c5623176c5925ab99bcd6c3 (diff) | |
loadb: Properly indicate aborted kermit transfer
When k_recv() returns zero it indicates that kermit transfer was aborted.
Function do_load_serial_bin() (caller of load_serial_bin()) interprets
value ~0 as aborted transfer, so properly propagates information about
aborted transfer from k_recv() to do_load_serial_bin().
Signed-off-by: Pali Rohár <[email protected]>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
