GCS_MAVLink: fix for HAL_SITL rename

This commit is contained in:
Andrew Tridgell 2015-05-04 16:17:47 +10:00
parent 69f9d25cd0
commit 2d89b8b53d
2 changed files with 2 additions and 2 deletions

View File

@ -162,7 +162,7 @@ void GCS_MAVLINK::handle_log_send(DataFlash_Class &dataflash)
num_sends = 10;
}
#if CONFIG_HAL_BOARD == HAL_BOARD_AVR_SITL
#if CONFIG_HAL_BOARD == HAL_BOARD_SITL
// assume USB speeds in SITL for the purposes of log download
num_sends = 40;
#endif

View File

@ -9,7 +9,7 @@
#include <AP_Progmem.h>
#include <AP_HAL.h>
#include <AP_HAL_AVR.h>
#include <AP_HAL_AVR_SITL.h>
#include <AP_HAL_SITL.h>
#include <AP_HAL_Linux.h>
#include <AP_HAL_FLYMAPLE.h>
#include <AP_HAL_PX4.h>