fixed a signed/unsigned warning

This commit is contained in:
Andrew Tridgell 2011-10-11 20:24:29 +11:00
parent eed26ae91a
commit 97b3ced7aa
1 changed files with 2 additions and 2 deletions

View File

@ -381,8 +381,8 @@ static long old_target_bearing; // used to track difference in angle
static int loiter_total; // deg : how many times to loiter * 360
static int loiter_sum; // deg : how far we have turned around a waypoint
static long loiter_time; // millis : when we started LOITER mode
static int loiter_time_max; // millis : how long to stay in LOITER mode
static unsigned long loiter_time; // millis : when we started LOITER mode
static unsigned loiter_time_max; // millis : how long to stay in LOITER mode
// these are the values for navigation control functions