mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-23 16:25:31 +03:00
added gps baudrage config setting
renamed gcc startup file to .S (breaks some lunix dudes apparently) ppm sum handler waws hardcoded to TIM2 instead of using passed parameter. fixed. (thanks sbaron) invalid data from pwm/ppm read are returned as midrc, not 1500. (robert_b) git-svn-id: https://afrodevices.googlecode.com/svn/trunk/baseflight@133 7c89a4a9-59b9-e629-4cfe-3a2d53b20e61
This commit is contained in:
parent
791d67b4ee
commit
da5ac020e1
9 changed files with 2413 additions and 2395 deletions
|
@ -9,7 +9,7 @@ static void GPS_NewData(uint16_t c);
|
|||
static bool GPS_newFrame(char c);
|
||||
static void GPS_distance(int32_t lat1, int32_t lon1, int32_t lat2, int32_t lon2, uint16_t * dist, int16_t * bearing);
|
||||
|
||||
void gpsInit(void)
|
||||
void gpsInit(uint32_t baudrate)
|
||||
{
|
||||
uart2Init(9600, GPS_NewData);
|
||||
sensorsSet(SENSOR_GPS);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue