AP_HAL: AnalogIn uses only sized int types

This commit is contained in:
Pat Hickey 2012-12-06 10:57:50 -08:00 committed by Andrew Tridgell
parent 9455d4c297
commit de4adefe4e

View File

@ -14,8 +14,8 @@ public:
class AP_HAL::AnalogIn {
public:
virtual void init(void* implspecific) = 0;
virtual AP_HAL::AnalogSource* channel(int n) = 0;
virtual AP_HAL::AnalogSource* channel(int n, float scale) = 0;
virtual AP_HAL::AnalogSource* channel(int16_t n) = 0;
virtual AP_HAL::AnalogSource* channel(int16_t n, float scale) = 0;
};
#define ANALOG_INPUT_BOARD_VCC 254