Skip to content

Commit

Permalink
add debug log output config
Browse files Browse the repository at this point in the history
  • Loading branch information
luhuadong committed Nov 12, 2020
1 parent c92ec32 commit aa28383
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/littled.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,11 @@
#include <rtdevice.h>

#define DBG_TAG "pkg.littled"
#ifdef PKG_USING_LITTLED_DEBUG
#define DBG_LVL DBG_LOG
#else
#define DBG_LVL DBG_ERROR
#endif
#include <rtdbg.h>

#define LED_THREAD_PRIORITY (RT_THREAD_PRIORITY_MAX - 1)
Expand Down

0 comments on commit aa28383

Please # to comment.