ArduPlane: initialize the fail_test variable

* Clang complains if variables are not initialized
This commit is contained in:
Will Sackfield 2016-02-26 00:12:59 -05:00 committed by Andrew Tridgell
parent 5f5035933f
commit fabe235130
1 changed files with 1 additions and 1 deletions

View File

@ -141,7 +141,7 @@ int8_t Plane::test_radio(uint8_t argc, const Menu::arg *argv)
int8_t Plane::test_failsafe(uint8_t argc, const Menu::arg *argv) int8_t Plane::test_failsafe(uint8_t argc, const Menu::arg *argv)
{ {
uint8_t fail_test; uint8_t fail_test = 0;
print_hit_enter(); print_hit_enter();
for(int16_t i = 0; i < 50; i++) { for(int16_t i = 0; i < 50; i++) {
hal.scheduler->delay(20); hal.scheduler->delay(20);