Skip to content

Commit

Permalink
[examples] blue_pill/environment: Logger in BSP
Browse files Browse the repository at this point in the history
  • Loading branch information
rleh committed Jan 11, 2021
1 parent f41b84c commit 627a5c7
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions examples/stm32f103c8t6_blue_pill/environment/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,17 +30,6 @@ Bme280Thread bme280Thread;
#undef MODM_LOG_LEVEL
#define MODM_LOG_LEVEL modm::log::DEBUG

// Create an IODeviceWrapper around the Uart Peripheral we want to use
modm::IODeviceWrapper< Usart2, modm::IOBuffer::BlockIfFull > loggerDevice;
modm::IOStream stream(loggerDevice);

// Set all four logger streams to use the UART
modm::log::Logger modm::log::debug(loggerDevice);
modm::log::Logger modm::log::info(loggerDevice);
modm::log::Logger modm::log::warning(loggerDevice);
modm::log::Logger modm::log::error(loggerDevice);

// ----------------------------------------------------------------------------

using namespace Board;

Expand Down

0 comments on commit 627a5c7

Please sign in to comment.