Files
MuditaOS/module-bsp/bsp/bluetooth/Bluetooth.cpp
Mateusz Grzywacz 8df9b22ac9 [EGD-4582] Bluetooth over DMA (#1115)
[EGD-4582] Bluetooth UART: replace polling with DMA
2020-12-08 13:39:18 +01:00

26 lines
394 B
C++

#include "Bluetooth.hpp"
#include <cstdarg>
namespace bsp {
BTdev::BTdev() : flog(nullptr)
{
is_open = false;
}
BTdev::~BTdev()
{
}
void BTdev::log(LogLvl lvl,const char* val, ...)
{
if(loglvl>=lvl && flog) {
va_list args;
va_start(args, val);
flog(val,args);
va_end(args);
}
}
};