AP_HAL_Empty: Remove GPIO::analogPinToDigitalPin()

This commit is contained in:
Michael du Breuil 2018-07-10 18:25:51 -07:00 committed by Lucas De Marchi
parent 6fba374069
commit f4b1d530c1
2 changed files with 0 additions and 7 deletions

View File

@ -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;
}

View File

@ -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);