mirror of https://github.com/ArduPilot/ardupilot
AP_IOMCU: fixed build on systems without IO MCU
This commit is contained in:
parent
71a47303b4
commit
9b9b4a169e
|
@ -6,6 +6,9 @@
|
|||
*/
|
||||
|
||||
#include "AP_IOMCU.h"
|
||||
|
||||
#if HAL_WITH_IO_MCU
|
||||
|
||||
#include <AP_Math/AP_Math.h>
|
||||
#include <AP_Math/crc.h>
|
||||
|
||||
|
@ -479,3 +482,5 @@ bool AP_IOMCU::check_rcinput(uint32_t &last_frame_us, uint8_t &num_channels, uin
|
|||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
#endif // HAL_WITH_IO_MCU
|
||||
|
|
|
@ -6,6 +6,9 @@
|
|||
*/
|
||||
|
||||
#include <AP_HAL/AP_HAL.h>
|
||||
|
||||
#if HAL_WITH_IO_MCU
|
||||
|
||||
#include "ch.h"
|
||||
|
||||
class AP_IOMCU {
|
||||
|
@ -172,3 +175,5 @@ private:
|
|||
|
||||
bool corked;
|
||||
};
|
||||
|
||||
#endif // HAL_WITH_IO_MCU
|
||||
|
|
Loading…
Reference in New Issue