ArduCopter, ArduPilot: revert mavlink delay callback to be "unsigned long"

This commit is contained in:
rmackay9 2012-08-18 20:34:41 +09:00
parent 9f81d0c601
commit b80a3943aa
2 changed files with 2 additions and 2 deletions

View File

@ -1955,7 +1955,7 @@ GCS_MAVLINK::queued_waypoint_send()
MAVLink to process packets while waiting for the initialisation to MAVLink to process packets while waiting for the initialisation to
complete complete
*/ */
static void mavlink_delay(uint32_t t) static void mavlink_delay(unsigned long t)
{ {
uint32_t tstart; uint32_t tstart;
static uint32_t last_1hz, last_50hz, last_5s; static uint32_t last_1hz, last_50hz, last_5s;

View File

@ -1963,7 +1963,7 @@ GCS_MAVLINK::queued_waypoint_send()
MAVLink to process packets while waiting for the initialisation to MAVLink to process packets while waiting for the initialisation to
complete complete
*/ */
static void mavlink_delay(uint32_t t) static void mavlink_delay(unsigned long t)
{ {
uint32_t tstart; uint32_t tstart;
static uint32_t last_1hz, last_50hz, last_5s; static uint32_t last_1hz, last_50hz, last_5s;