mirror of
https://github.com/ArduPilot/ardupilot.git
synced 2026-11-14 12:02:38 +08:00
AP_Filesystem: increase tasks buffer size
This commit is contained in:
1 parent
958c19543f
commit
ac8dc26d41
1 file changed
+1
-1
@@ -55,7 +55,7 @@ int AP_Filesystem_Sys::open(const char *fname, int flags)
|
||||
}
|
||||
}
|
||||
if (strcmp(fname, "tasks.txt") == 0) {
|
||||
const uint32_t max_size = 6144;
|
||||
const uint32_t max_size = 6500;
|
||||
r.data->data = (char *)malloc(max_size);
|
||||
if (r.data->data) {
|
||||
r.data->length = AP::scheduler().task_info(r.data->data, max_size);
|
||||
|
||||
Reference in new issue
Block a user