mirror of
https://github.com/ArduPilot/ardupilot.git
synced 2026-11-09 16:41:21 +08:00
AP_Scheduler: Set main loop rate to 400hz for Sub
This commit is contained in:
1 parent
c7bd04966a
commit
ccb6434831
1 file changed
+1
-1
@@ -25,7 +25,7 @@
|
||||
#include <AP_Vehicle/AP_Vehicle.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#if APM_BUILD_TYPE(APM_BUILD_ArduCopter)
|
||||
#if APM_BUILD_TYPE(APM_BUILD_ArduCopter) || APM_BUILD_TYPE(APM_BUILD_ArduSub)
|
||||
#define SCHEDULER_DEFAULT_LOOP_RATE 400
|
||||
#else
|
||||
#define SCHEDULER_DEFAULT_LOOP_RATE 50
|
||||
|
||||
Reference in new issue
Block a user