logger: fix missing macro in RTT backend, when blocking mode is selected
This simple patch fix compiler error when RTT blocking mode is selected. Signed-off-by: Pavel Kral <pavel.kral@omsquare.com>
This commit is contained in:
parent
f1da7abc75
commit
47f529829f
1 changed files with 2 additions and 1 deletions
|
@ -10,9 +10,10 @@
|
|||
#include <logging/log_output.h>
|
||||
#include <rtt/SEGGER_RTT.h>
|
||||
|
||||
#define DROP_MAX 99
|
||||
|
||||
#if CONFIG_LOG_BACKEND_RTT_MODE_DROP
|
||||
|
||||
#define DROP_MAX 99
|
||||
#define DROP_MSG "\nmessages dropped: \r"
|
||||
#define DROP_MSG_LEN (sizeof(DROP_MSG) - 1)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue