mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-06-05 15:30:08 +08:00
[Build] Compile info about selected Arming
This commit is contained in:
@@ -68,10 +68,13 @@ static inline int ahrs_is_aligned(void) {
|
|||||||
|
|
||||||
#if USE_KILL_SWITCH_FOR_MOTOR_ARMING
|
#if USE_KILL_SWITCH_FOR_MOTOR_ARMING
|
||||||
#include "autopilot_arming_switch.h"
|
#include "autopilot_arming_switch.h"
|
||||||
|
PRINT_CONFIG_MSG("Using kill switch for motor arming")
|
||||||
#elif USE_THROTTLE_FOR_MOTOR_ARMING
|
#elif USE_THROTTLE_FOR_MOTOR_ARMING
|
||||||
#include "autopilot_arming_throttle.h"
|
#include "autopilot_arming_throttle.h"
|
||||||
|
PRINT_CONFIG_MSG("Using throttle for motor arming")
|
||||||
#else
|
#else
|
||||||
#include "autopilot_arming_yaw.h"
|
#include "autopilot_arming_yaw.h"
|
||||||
|
PRINT_CONFIG_MSG("Using 2 sec yaw for motor arming")
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef MODE_STARTUP
|
#ifndef MODE_STARTUP
|
||||||
|
|||||||
Reference in New Issue
Block a user