mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-30 09:23:33 +08:00
Finally get the #if right!!!
This commit is contained in:
@@ -243,7 +243,7 @@ dsm_init(const char *device)
|
|||||||
void
|
void
|
||||||
dsm_bind(uint16_t cmd, int pulses)
|
dsm_bind(uint16_t cmd, int pulses)
|
||||||
{
|
{
|
||||||
#if !(defined(CONFIG_ARCH_BOARD_PX4IO_V1) && !defined(CONFIG_ARCH_BOARD_PX4IO_V2))
|
#if !defined(CONFIG_ARCH_BOARD_PX4IO_V1) && !defined(CONFIG_ARCH_BOARD_PX4IO_V2)
|
||||||
#warning DSM BIND NOT IMPLEMENTED ON UNKNOWN PLATFORM
|
#warning DSM BIND NOT IMPLEMENTED ON UNKNOWN PLATFORM
|
||||||
#else
|
#else
|
||||||
const uint32_t usart1RxAsOutp =
|
const uint32_t usart1RxAsOutp =
|
||||||
|
|||||||
Reference in New Issue
Block a user