mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-18 22:05:17 +03:00
removed dependency on built-in printf() when using keil - they provided a much better internal one than GNU
got rid of int16 garbage in mwc pid controller - we aren't running on tarduino git-svn-id: https://afrodevices.googlecode.com/svn/trunk/baseflight@345 7c89a4a9-59b9-e629-4cfe-3a2d53b20e61
This commit is contained in:
parent
4e94fd07e5
commit
76617bc7e4
4 changed files with 35 additions and 19 deletions
|
@ -30,8 +30,7 @@
|
|||
*/
|
||||
|
||||
#include "board.h"
|
||||
#include "printf.h"
|
||||
|
||||
#ifdef USE_LAME_PRINTF
|
||||
#define PRINTF_LONG_SUPPORT
|
||||
|
||||
typedef void (*putcf) (void *, char);
|
||||
|
@ -246,3 +245,4 @@ void tfp_sprintf(char *s, char *fmt, ...)
|
|||
putcp(&s, 0);
|
||||
va_end(va);
|
||||
}
|
||||
#endif /* USE_LAME_PRINTF */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue