mirror of
https://github.com/mudita/MuditaOS.git
synced 2026-07-04 13:17:08 -04:00
10 lines
232 B
C++
10 lines
232 B
C++
#include "../../log/log.hpp"
|
|
#include "../../segger/rtt/SEGGER_RTT.h"
|
|
|
|
#define LOG_RTT_BUFF_INDEX 0
|
|
|
|
void log_WriteToDevice(const uint8_t *pBuffer, unsigned NumBytes)
|
|
{
|
|
SEGGER_RTT_Write(LOG_RTT_BUFF_INDEX, pBuffer, NumBytes);
|
|
}
|