AP_IOMCU: removed include of ch.h from headers

This commit is contained in:
Andrew Tridgell 2022-02-21 18:38:21 +11:00
parent 1ba5e33474
commit 4c5fc1f5ef
2 changed files with 4 additions and 1 deletions

View File

@ -18,6 +18,7 @@
#include <AP_RCProtocol/AP_RCProtocol.h>
#include <AP_InternalError/AP_InternalError.h>
#include <AP_Logger/AP_Logger.h>
#include <ch.h>
extern const AP_HAL::HAL &hal;

View File

@ -9,10 +9,12 @@
#if HAL_WITH_IO_MCU
#include "ch.h"
#include "iofirmware/ioprotocol.h"
#include <AP_RCMapper/AP_RCMapper.h>
typedef uint32_t eventmask_t;
typedef struct ch_thread thread_t;
class AP_IOMCU {
public:
AP_IOMCU(AP_HAL::UARTDriver &uart);