1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-19 14:25:20 +03:00

Extract serial-related code from printf.c

This commit is contained in:
Dominic Clifton 2019-03-06 11:12:19 +01:00
parent 9a82a041f4
commit 672c906067
6 changed files with 125 additions and 76 deletions

View file

@ -32,7 +32,7 @@
#include "common/axis.h"
#include "common/color.h"
#include "common/maths.h"
#include "common/printf.h"
#include "common/printf_serial.h"
#include "config/config_eeprom.h"
#include "config/feature.h"
@ -249,7 +249,9 @@ void init(void)
HAL_Init();
#endif
printfSupportInit();
#ifdef SERIAL_PORT_COUNT
printfSerialInit();
#endif
systemInit();