mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-21 07:15:18 +03:00
merged multiwii GPS code from 1097. still no support for UBX, or GPS auto-config, soon.
added interrupt pins from mag/mma/mpu for rev4 hardware. nothing done with them yet - candidates for EXTI use added tx buffer to UART2 (gps) in preparation for auto-config git-svn-id: https://afrodevices.googlecode.com/svn/trunk/baseflight@203 7c89a4a9-59b9-e629-4cfe-3a2d53b20e61
This commit is contained in:
parent
70db9006af
commit
80d7ba604b
12 changed files with 2769 additions and 2694 deletions
|
@ -1,5 +1,6 @@
|
|||
#pragma once
|
||||
|
||||
// USART1
|
||||
void uartInit(uint32_t speed);
|
||||
uint16_t uartAvailable(void);
|
||||
bool uartTransmitEmpty(void);
|
||||
|
@ -7,4 +8,7 @@ uint8_t uartRead(void);
|
|||
uint8_t uartReadPoll(void);
|
||||
void uartWrite(uint8_t ch);
|
||||
void uartPrint(char *str);
|
||||
void uart2Init(uint32_t speed, uartReceiveCallbackPtr func);
|
||||
|
||||
// USART2 (
|
||||
void uart2Init(uint32_t speed, uartReceiveCallbackPtr func, bool rxOnly);
|
||||
void uart2Write(uint8_t ch);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue