Skip to content

Commit

Permalink
Fix flight time accounting bug (#208)
Browse files Browse the repository at this point in the history
  • Loading branch information
shellixyz committed Jul 14, 2022
1 parent 0c29e9c commit be33f4e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions libraries/AP_Stats/AP_Stats.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -575,6 +575,8 @@ void AP_Stats::set_flying(const bool status)
}
} else {
_flying_start_tstamp_ms = 0;
_last_update_flying_tstamp_ms = 0;
_last_slow_update_flying_tstamp_ms = 0;
}
}

Expand Down

0 comments on commit be33f4e

Please sign in to comment.