Skip to content

Commit d87536b

Browse files
committed
more warning clean up
1 parent 6bcffbd commit d87536b

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

cores/nRF5/sysview/SEGGER_SYSVIEW_FreeRTOS.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ File : SEGGER_SYSVIEW_FreeRTOS.c
1010
Purpose : Interface between FreeRTOS and SystemView.
1111
Revision: $Rev: 7947 $
1212
*/
13+
14+
#if CFG_DEBUG >= 3
15+
1316
#include "FreeRTOS.h"
1417
#include "task.h"
1518
#include "SEGGER_SYSVIEW.h"
@@ -208,4 +211,6 @@ const SEGGER_SYSVIEW_OS_API SYSVIEW_X_OS_TraceAPI = {
208211
_cbSendTaskList,
209212
};
210213

214+
#endif // CFG_DEBUG
215+
211216
/*************************** End of file ****************************/

cores/nRF5/verify.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,8 @@ extern "C"
5656
// VERIFY Helper
5757
//--------------------------------------------------------------------+
5858
#if CFG_DEBUG >= 1
59+
#include <stdio.h>
60+
5961
#define VERIFY_MESS(_status, _funcstr) \
6062
do { \
6163
const char* (*_fstr)(int32_t) = _funcstr;\

0 commit comments

Comments
 (0)