mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-21 15:25:36 +03:00
removed superfluous functions
This commit is contained in:
parent
5f03470557
commit
ca0cb73c93
1 changed files with 0 additions and 10 deletions
|
@ -93,16 +93,6 @@ pwmOutputConfiguration_t *pwmGetOutputConfiguration(void)
|
||||||
return &pwmOutputConfiguration;
|
return &pwmOutputConfiguration;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool CheckGPIOPin(ioTag_t tag, GPIO_TypeDef *gpio, uint16_t pin)
|
|
||||||
{
|
|
||||||
return IO_GPIOBYTAG(tag) == gpio && IO_PINBYTAG(tag) == pin;
|
|
||||||
}
|
|
||||||
|
|
||||||
bool CheckGPIOPinSource(ioTag_t tag, GPIO_TypeDef *gpio, uint16_t pin)
|
|
||||||
{
|
|
||||||
return IO_GPIOBYTAG(tag) == gpio && IO_GPIO_PinSource(IOGetByTag(tag)) == pin;
|
|
||||||
}
|
|
||||||
|
|
||||||
pwmOutputConfiguration_t *pwmInit(drv_pwm_config_t *init)
|
pwmOutputConfiguration_t *pwmInit(drv_pwm_config_t *init)
|
||||||
{
|
{
|
||||||
int i = 0;
|
int i = 0;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue