AC_WPNav: bug fix for loiter and waypoint update rate

Thanks to EmileC for spotting this
This commit is contained in:
Randy Mackay 2014-05-12 20:13:46 +09:00
parent 48919b6253
commit 5d20594fa4

View File

@ -30,7 +30,7 @@
#define WPNAV_LEASH_LENGTH_MIN 100.0f // minimum leash lengths in cm
#if HAL_CPU_CLASS >= HAL_CPU_CLASS_75 || CONFIG_HAL_BOARD == HAL_BOARD_AVR_SITL
#if HAL_CPU_CLASS < HAL_CPU_CLASS_75 || CONFIG_HAL_BOARD == HAL_BOARD_AVR_SITL
# define WPNAV_LOITER_UPDATE_TIME 0.095f // 10hz update rate on low speed CPUs (APM1, APM2)
# define WPNAV_WP_UPDATE_TIME 0.095f // 10hz update rate on low speed CPUs (APM1, APM2)
#else