AP_IOMCU: fix includes

This commit is contained in:
Pierre Kancir 2019-03-23 03:32:56 +01:00 committed by Andrew Tridgell
parent 37d121ae02
commit eab7d08021
6 changed files with 16 additions and 0 deletions

View File

@ -1,3 +1,6 @@
#pragma once
#include <stdint.h>
/*
initialise adc
*/

View File

@ -1,4 +1,8 @@
#pragma once
#include <stdint.h>
#include <AP_HAL/AP_HAL.h>
#include <AP_Common/AP_Common.h>
#include <AP_RCProtocol/AP_RCProtocol.h>

View File

@ -1,3 +1,7 @@
#pragma once
#include <stdint.h>
#include <AP_Common/AP_Common.h>
/*
common protocol definitions between AP_IOMCU and iofirmware
*/

View File

@ -17,6 +17,7 @@
*/
#include <AP_HAL/AP_HAL.h>
#include <AP_Math/AP_Math.h>
#include <SRV_Channel/SRV_Channel.h>
#include "iofirmware.h"

View File

@ -21,6 +21,8 @@
#include "hal.h"
#include "iofirmware.h"
#include "rc.h"
#include <AP_HAL/AP_HAL.h>
#include <AP_Math/AP_Math.h>
#include <AP_SBusOut/AP_SBusOut.h>
extern const AP_HAL::HAL& hal;

View File

@ -1,2 +1,4 @@
#pragma once
#include <stdint.h>
void sbus_out_write(uint16_t *channels, uint8_t nchannels);