Skip to content

Commit

Permalink
AP_Notify: Change arming time count check.
Browse files Browse the repository at this point in the history
  • Loading branch information
muramura authored and OXINARF committed Jan 19, 2017
1 parent 83c7217 commit 8a32d09
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions libraries/AP_Notify/AP_BoardLED.cpp
Expand Up @@ -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;
Expand Down

0 comments on commit 8a32d09

Please sign in to comment.