mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-02 05:58:30 -04:00
AP_Filesystem: fix ftp burst read with credit to deanharken
This commit is contained in:
parent
3c8aa259e6
commit
a0474d7228
@ -55,6 +55,7 @@ int AP_Filesystem_Param::open(const char *fname, int flags)
|
|||||||
r.open = true;
|
r.open = true;
|
||||||
r.start = 0;
|
r.start = 0;
|
||||||
r.count = 0;
|
r.count = 0;
|
||||||
|
r.read_size = 0;
|
||||||
r.writebuf = nullptr;
|
r.writebuf = nullptr;
|
||||||
if (!read_only) {
|
if (!read_only) {
|
||||||
// setup for upload
|
// setup for upload
|
||||||
|
Loading…
Reference in New Issue
Block a user