mirror of https://github.com/ArduPilot/ardupilot
AP_HAL_ChibiOS: Remove GPIO::analogPinToDigitalPin()
This commit is contained in:
parent
3419b045e1
commit
6fba374069
|
@ -78,11 +78,6 @@ 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)
|
||||
{
|
||||
|
|
|
@ -31,7 +31,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