Browse Source

AP_IOMCU: fix includes

mission-4.1.18
Pierre Kancir 6 years ago committed by Andrew Tridgell
parent
commit
eab7d08021
  1. 3
      libraries/AP_IOMCU/iofirmware/analog.h
  2. 4
      libraries/AP_IOMCU/iofirmware/iofirmware.h
  3. 4
      libraries/AP_IOMCU/iofirmware/ioprotocol.h
  4. 1
      libraries/AP_IOMCU/iofirmware/mixer.cpp
  5. 2
      libraries/AP_IOMCU/iofirmware/rc.cpp
  6. 2
      libraries/AP_IOMCU/iofirmware/rc.h

3
libraries/AP_IOMCU/iofirmware/analog.h

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

4
libraries/AP_IOMCU/iofirmware/iofirmware.h

@ -1,4 +1,8 @@ @@ -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>

4
libraries/AP_IOMCU/iofirmware/ioprotocol.h

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

1
libraries/AP_IOMCU/iofirmware/mixer.cpp

@ -17,6 +17,7 @@ @@ -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"

2
libraries/AP_IOMCU/iofirmware/rc.cpp

@ -21,6 +21,8 @@ @@ -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;

2
libraries/AP_IOMCU/iofirmware/rc.h

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

Loading…
Cancel
Save