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:
parent
9a82a041f4
commit
672c906067
6 changed files with 125 additions and 76 deletions
|
@ -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();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue