AP_HAL: AnalogIn: add missing include

Since we are using uint8_t and uint16_t types we need to include the
correspondent system header. Otherwise it would depend on the include
order of who is including this particular header, causing failures as we
move headers around.
This commit is contained in:
Lucas De Marchi 2015-10-21 15:51:49 -02:00
parent 6b048b4045
commit 74ccbdb6f7
1 changed files with 2 additions and 0 deletions

View File

@ -2,6 +2,8 @@
#ifndef __AP_HAL_ANALOG_IN_H__ #ifndef __AP_HAL_ANALOG_IN_H__
#define __AP_HAL_ANALOG_IN_H__ #define __AP_HAL_ANALOG_IN_H__
#include <inttypes.h>
#include "AP_HAL_Namespace.h" #include "AP_HAL_Namespace.h"
class AP_HAL::AnalogSource { class AP_HAL::AnalogSource {