AP_Notify: Change arming time count check.

This commit is contained in:
murata 2016-12-28 23:30:08 +09:00 committed by Francisco Ferreira
parent 83c7217911
commit 8a32d09264
1 changed files with 3 additions and 5 deletions

View File

@ -119,19 +119,17 @@ void AP_BoardLED::update(void)
switch(arm_counter) {
case 0:
case 1:
hal.gpio->write(HAL_GPIO_A_LED_PIN, HAL_GPIO_LED_ON);
break;
case 2:
hal.gpio->write(HAL_GPIO_A_LED_PIN, HAL_GPIO_LED_OFF);
break;
case 3:
case 4:
hal.gpio->write(HAL_GPIO_A_LED_PIN, HAL_GPIO_LED_ON);
break;
case 2:
case 5:
case 6:
hal.gpio->write(HAL_GPIO_A_LED_PIN, HAL_GPIO_LED_OFF);
break;
default:
arm_counter = -1;
break;