1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-24 16:55:36 +03:00

fixed up mpu6050 DMP stuff.

increased i2c send buffer to 16bytes (was needed for DMP)
decreased interrupt priority of both uarts - with GPS running at 115200, this would cause I2C errors (i2c interrupt must be highest priority).
GPS was tested with $25 FMP04 GPS module ghettoed up outside my window, locking 5 satellites in a few minutes.

git-svn-id: https://afrodevices.googlecode.com/svn/trunk/baseflight@140 7c89a4a9-59b9-e629-4cfe-3a2d53b20e61
This commit is contained in:
timecop 2012-04-02 16:08:24 +00:00
parent 14f87034c7
commit 861b274039
6 changed files with 146 additions and 107 deletions

View file

@ -72,7 +72,7 @@ void systemInit(void)
GPIO_Init(GPIOA, &GPIO_InitStructure);
GPIO_Init(GPIOB, &GPIO_InitStructure);
GPIO_Init(GPIOC, &GPIO_InitStructure);
// Turn off JTAG port 'cause we're using the GPIO for leds
GPIO_PinRemapConfig(GPIO_Remap_SWJ_JTAGDisable, ENABLE);