1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-18 22:05:17 +03:00

Fixed issue #15, new uart building under gcc toolchain, thanks!

git-svn-id: https://afrodevices.googlecode.com/svn/trunk/baseflight@383 7c89a4a9-59b9-e629-4cfe-3a2d53b20e61
This commit is contained in:
timecop@gmail.com 2013-08-22 13:37:45 +00:00
parent cbb580f753
commit 1441d46323
3 changed files with 3 additions and 7 deletions

View file

@ -13,7 +13,7 @@ extern uint16_t spektrumReadRawRC(uint8_t chan);
// gcc/GNU version
static void _putc(void *p, char c)
{
uartWrite(c);
uartWrite(core.mainport, c);
}
#else
// keil/armcc version