mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-15 20:35:33 +03:00
added softi2c source file (oops)
changed gpio speeds to 2mhz from 50, nothing is toggling at 50mhz here. reduce ringing/noise. git-svn-id: https://afrodevices.googlecode.com/svn/trunk/baseflight@181 7c89a4a9-59b9-e629-4cfe-3a2d53b20e61
This commit is contained in:
parent
23d11299b8
commit
e70d7b5d16
11 changed files with 781 additions and 549 deletions
|
@ -75,7 +75,7 @@ void systemInit(void)
|
|||
// Configure gpio
|
||||
for (i = 0; i < gpio_count; i++) {
|
||||
GPIO_InitStructure.GPIO_Pin = gpio_cfg[i].pin;
|
||||
GPIO_InitStructure.GPIO_Speed = GPIO_Speed_50MHz;
|
||||
GPIO_InitStructure.GPIO_Speed = GPIO_Speed_2MHz;
|
||||
GPIO_InitStructure.GPIO_Mode = gpio_cfg[i].mode;
|
||||
GPIO_Init(gpio_cfg[i].gpio, &GPIO_InitStructure);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue