mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2024-12-01 09:24:10 +01:00
ce4b2f4446
Inconsistent use of debug macros in board definition files resulted in BU compilation error. It was attempted to use PIOS_COM_SendFormattedStringNonBlocking() directly even if PIOS_COM was not included (like for BootloaderUpdater). So this function in pios_debug.c was replaced by DEBUG_PRINTF() macro. The macro itself is defined in pios_debug.h file. Its definitions are removed from board files. And to use it one has to define in pios_config.h: #define PIOS_INCLUDE_DEBUG_CONSOLE #define DEBUG_LEVEL <number> in addition to PIOS_INCLUDE_COM with aux port. Conflicts: flight/PiOS/Boards/STM32103CB_PIPXTREME_Rev1.h flight/PiOS/Boards/STM32F4xx_RevoMini.h |
||
---|---|---|
.. | ||
System | ||
Makefile |