mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-19 03:33:34 +08:00
fmu Allow for using a common format
This commit is contained in:
committed by
Daniel Agar
parent
c168bd248f
commit
2aa8674f86
@@ -81,6 +81,18 @@
|
||||
static constexpr uint8_t CYCLE_COUNT = 10; /* safety switch must be held for 1 second to activate */
|
||||
static constexpr uint8_t MAX_ACTUATORS = DIRECT_PWM_OUTPUT_CHANNELS;
|
||||
|
||||
#if defined(PX4_CPU_UUID_WORD32_FORMAT)
|
||||
# define CPU_UUID_FORMAT PX4_CPU_UUID_WORD32_FORMAT
|
||||
#else
|
||||
# define CPU_UUID_FORMAT "%0X"
|
||||
#endif
|
||||
|
||||
#if defined(PX4_CPU_UUID_WORD32_SEPARATOR)
|
||||
# define CPU_UUID_SEPARATOR PX4_CPU_UUID_WORD32_SEPARATOR
|
||||
#else
|
||||
# define CPU_UUID_SEPARATOR " "
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Define the various LED flash sequences for each system state.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user