STM32: UAVCAN_STM32_DEBUG removed

This commit is contained in:
Pavel Kirienko
2014-04-11 00:01:34 +04:00
parent e567c16fd0
commit 59fd0224e0
2 changed files with 0 additions and 22 deletions
@@ -47,27 +47,6 @@
# error UAVCAN_STM32_TIMER_NUMBER
#endif
/**
* Driver debug output
*/
#if UAVCAN_STM32_DEBUG
# if __GNUC__
__attribute__ ((format(printf, 1, 2)))
# endif
static void UAVCAN_STM32_TRACE(const char* fmt, ...)
{
(void)UAVCAN_STM32_TRACE;
va_list args;
(void)std::printf("UAVCAN: STM32: ");
va_start(args, fmt);
(void)std::vprintf(fmt, args);
va_end(args);
(void)std::puts("");
}
#else
# define UAVCAN_STM32_TRACE(...) ((void)0)
#endif
/**
* Glue macros
*/
@@ -16,7 +16,6 @@ CPPSRC = src/main.cpp src/dummy.cpp
UDEFS = -DUAVCAN_STM32_CHIBIOS=1 \
-DUAVCAN_STM32_TIMER_NUMBER=6 \
-DUAVCAN_STM32_DEBUG=1 \
-DUAVCAN_MEM_POOL_BLOCK_SIZE=56 \
-DUAVCAN_TOSTRING=0