Arduplane: Fixed unsigned int comparison warning

This commit is contained in:
Jason Short 2012-07-18 23:07:34 -07:00
parent c9d3ab5413
commit e574f3c8cf
1 changed files with 5 additions and 5 deletions

View File

@ -452,7 +452,7 @@ static void do_within_distance()
static bool verify_wait_delay()
{
if (millis() - condition_start > condition_value){
if ((unsigned)(millis() - condition_start) > (unsigned)condition_value){
condition_value = 0;
return true;
}