GCS_MAVLink: raise ftp stack size to 3072 from 1024

this prevents memory corruption on directory listing
This commit is contained in:
Andrew Tridgell 2020-02-11 12:32:57 +11:00
parent d40862de9c
commit f7eba43cb8
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@ bool GCS_MAVLINK::ftp_init(void) {
}
if (!hal.scheduler->thread_create(FUNCTOR_BIND_MEMBER(&GCS_MAVLINK::ftp_worker, void),
"FTP", 1024, AP_HAL::Scheduler::PRIORITY_IO, 0)) {
"FTP", 3072, AP_HAL::Scheduler::PRIORITY_IO, 0)) {
goto failed;
}