mirror of https://github.com/ArduPilot/ardupilot
AP_Notify: Change arming time count check.
This commit is contained in:
parent
83c7217911
commit
8a32d09264
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue