AP_Logger: omnibusF4pro needs more stack for logging and logging needs to take precedence over ftp
This commit is contained in:
parent
b0fa5fadcd
commit
b3946a667c
@ -28,7 +28,7 @@ extern const AP_HAL::HAL& hal;
|
||||
#endif
|
||||
|
||||
#ifndef HAL_LOGGING_STACK_SIZE
|
||||
#define HAL_LOGGING_STACK_SIZE 512
|
||||
#define HAL_LOGGING_STACK_SIZE 768
|
||||
#endif
|
||||
|
||||
#ifndef HAL_LOGGING_MAV_BUFSIZE
|
||||
@ -1274,7 +1274,7 @@ void AP_Logger::start_io_thread(void)
|
||||
return;
|
||||
}
|
||||
|
||||
if (!hal.scheduler->thread_create(FUNCTOR_BIND_MEMBER(&AP_Logger::io_thread, void), "log_io", HAL_LOGGING_STACK_SIZE, AP_HAL::Scheduler::PRIORITY_IO, 0)) {
|
||||
if (!hal.scheduler->thread_create(FUNCTOR_BIND_MEMBER(&AP_Logger::io_thread, void), "log_io", HAL_LOGGING_STACK_SIZE, AP_HAL::Scheduler::PRIORITY_IO, 1)) {
|
||||
AP_HAL::panic("Failed to start Logger IO thread");
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user