mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-24 00:35:39 +03:00
Merge branch 'betaflight' of https://github.com/borisbstyle/cleanflight into betaflight
This commit is contained in:
commit
b457b16227
1 changed files with 2 additions and 3 deletions
|
@ -73,9 +73,6 @@ static void gpio_set_mode(GPIO_TypeDef* gpio, uint16_t pin, GPIO_Mode mode) {
|
||||||
gpioInit(gpio, &cfg);
|
gpioInit(gpio, &cfg);
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef STM32F10X
|
|
||||||
static volatile uint32_t in_cr_mask, out_cr_mask;
|
|
||||||
|
|
||||||
void usb1WireInitialize()
|
void usb1WireInitialize()
|
||||||
{
|
{
|
||||||
for (volatile uint8_t i = 0; i<ESC_COUNT ; i++){
|
for (volatile uint8_t i = 0; i<ESC_COUNT ; i++){
|
||||||
|
@ -83,6 +80,8 @@ void usb1WireInitialize()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef STM32F10X
|
||||||
|
static volatile uint32_t in_cr_mask, out_cr_mask;
|
||||||
static __IO uint32_t *cr;
|
static __IO uint32_t *cr;
|
||||||
static void gpio_prep_vars(uint16_t escIndex)
|
static void gpio_prep_vars(uint16_t escIndex)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue