mirror of https://github.com/ArduPilot/ardupilot
AP_HAL_Empty: Remove GPIO::analogPinToDigitalPin()
This commit is contained in:
parent
6fba374069
commit
f4b1d530c1
|
@ -12,12 +12,6 @@ void GPIO::init()
|
|||
void GPIO::pinMode(uint8_t pin, uint8_t output)
|
||||
{}
|
||||
|
||||
int8_t GPIO::analogPinToDigitalPin(uint8_t pin)
|
||||
{
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
||||
uint8_t GPIO::read(uint8_t pin) {
|
||||
return 0;
|
||||
}
|
||||
|
|
|
@ -7,7 +7,6 @@ public:
|
|||
GPIO();
|
||||
void init();
|
||||
void pinMode(uint8_t pin, uint8_t output);
|
||||
int8_t analogPinToDigitalPin(uint8_t pin);
|
||||
uint8_t read(uint8_t pin);
|
||||
void write(uint8_t pin, uint8_t value);
|
||||
void toggle(uint8_t pin);
|
||||
|
|
Loading…
Reference in New Issue