more warning clean up

This commit is contained in:
hathach committed 2019-06-06 11:59:38 +07:00
1 parent 6bcffbd252
commit d87536bbb7
2 files changed
+7

No files matched your search

@@ -10,6 +10,9 @@ File : SEGGER_SYSVIEW_FreeRTOS.c
Purpose : Interface between FreeRTOS and SystemView.
Revision: $Rev: 7947 $
*/
#if CFG_DEBUG >= 3
#include "FreeRTOS.h"
#include "task.h"
#include "SEGGER_SYSVIEW.h"
@@ -208,4 +211,6 @@ const SEGGER_SYSVIEW_OS_API SYSVIEW_X_OS_TraceAPI = {
_cbSendTaskList,
};
#endif // CFG_DEBUG
/*************************** End of file ****************************/
+2
View File
@@ -56,6 +56,8 @@ extern "C"
// VERIFY Helper
//--------------------------------------------------------------------+
#if CFG_DEBUG >= 1
#include <stdio.h>
#define VERIFY_MESS(_status, _funcstr) \
do { \
const char* (*_fstr)(int32_t) = _funcstr;\