PX4 Firmware
PX4 Autopilot Software http://px4.io
|
#include "SafetyButton.hpp"
Go to the source code of this file.
Enumerations | |
enum | LED_PATTERN : uint16_t { LED_PATTERN::FMU_OK_TO_ARM = 0x0003, LED_PATTERN::FMU_REFUSE_TO_ARM = 0x5555, LED_PATTERN::IO_ARMED = 0x5050, LED_PATTERN::FMU_ARMED = 0x5500, LED_PATTERN::IO_FMU_ARMED = 0xffff } |
Functions | |
__EXPORT int | safety_button_main (int argc, char *argv[]) |
Variables | |
static constexpr uint8_t | CYCLE_COUNT {10} |
|
strong |
Enumerator | |
---|---|
FMU_OK_TO_ARM | slow blinking |
FMU_REFUSE_TO_ARM | fast blinking |
IO_ARMED | long off, then double blink |
FMU_ARMED | long off, then quad blink |
IO_FMU_ARMED | constantly on |
Definition at line 41 of file SafetyButton.cpp.
__EXPORT int safety_button_main | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 230 of file SafetyButton.cpp.
References main().
|
static |
Definition at line 38 of file SafetyButton.cpp.
Referenced by SafetyButton::CheckButton().