mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-06-07 09:13:32 +08:00
Fixed some typos
This commit is contained in:
@@ -228,7 +228,6 @@ comms_handle_command(const void *buffer, size_t length)
|
||||
break;
|
||||
}
|
||||
}
|
||||
system_state.relays[i] != cmd->relay_state[i]
|
||||
}
|
||||
|
||||
irqrestore(flags);
|
||||
|
||||
+2
-2
@@ -162,8 +162,8 @@ extern volatile int timers[TIMER_NUM_TIMERS];
|
||||
#define LED_SAFETY(_s) stm32_gpiowrite(GPIO_LED3, !(_s))
|
||||
|
||||
#define POWER_SERVO(_s) stm32_gpiowrite(GPIO_SERVO_PWR_EN, (_s))
|
||||
#define POWER_ACC1(_s) stm32_gpiowrite(GPIO_SERVO_ACC1_EN, (_s))
|
||||
#define POWER_ACC2(_s) stm32_gpiowrite(GPIO_SERVO_ACC2_EN, (_s))
|
||||
#define POWER_ACC1(_s) stm32_gpiowrite(GPIO_ACC1_PWR_EN, (_s))
|
||||
#define POWER_ACC2(_s) stm32_gpiowrite(GPIO_ACC2_PWR_EN, (_s))
|
||||
#define POWER_RELAY1(_s) stm32_gpiowrite(GPIO_RELAY1_EN, (_s))
|
||||
#define POWER_RELAY2(_s) stm32_gpiowrite(GPIO_RELAY2_EN, (_s))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user