diff options
author | Jean Cyr <jcyr@dillobits.com> | 2013-09-18 20:14:53 -0400 |
---|---|---|
committer | Jean Cyr <jcyr@dillobits.com> | 2013-09-18 20:14:53 -0400 |
commit | 390d5b34de7dc595340d71c1554fec78c0d9423e (patch) | |
tree | f1992b1090d40cf7a20451262ac1fc087c249937 | |
parent | 89d3e1db281414571fb55b87fb87385a97263cf1 (diff) | |
download | px4-firmware-390d5b34de7dc595340d71c1554fec78c0d9423e.tar.gz px4-firmware-390d5b34de7dc595340d71c1554fec78c0d9423e.tar.bz2 px4-firmware-390d5b34de7dc595340d71c1554fec78c0d9423e.zip |
Fix backwards ifdef in dsm.c
-rw-r--r-- | src/modules/px4iofirmware/dsm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/px4iofirmware/dsm.c b/src/modules/px4iofirmware/dsm.c index fd6bca62a..dc544d991 100644 --- a/src/modules/px4iofirmware/dsm.c +++ b/src/modules/px4iofirmware/dsm.c @@ -243,7 +243,7 @@ dsm_init(const char *device) void 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 #else const uint32_t usart1RxAsOutp = |