mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 00:14:22 +08:00
Eliminate some warnings
This commit is contained in:
@@ -44,10 +44,14 @@
|
||||
*/
|
||||
|
||||
#ifdef CONFIG_ARCH_STACKDUMP
|
||||
# undef CONFIG_DEBUG_FEATURES
|
||||
# undef CONFIG_DEBUG_INFO
|
||||
# define CONFIG_DEBUG_FEATURES 1
|
||||
# define CONFIG_DEBUG_INFO 1
|
||||
# undef CONFIG_DEBUG_FEATURES
|
||||
# undef CONFIG_DEBUG_ERROR
|
||||
# undef CONFIG_DEBUG_WARN
|
||||
# undef CONFIG_DEBUG_INFO
|
||||
# define CONFIG_DEBUG_FEATURES 1
|
||||
# define CONFIG_DEBUG_ERROR 1
|
||||
# define CONFIG_DEBUG_WARN 1
|
||||
# define CONFIG_DEBUG_INFO 1
|
||||
#endif
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
@@ -42,8 +42,12 @@
|
||||
/* Output debug info -- even if debug is not selected. */
|
||||
|
||||
#undef CONFIG_DEBUG_FEATURES
|
||||
#undef CONFIG_DEBUG_ERROR
|
||||
#undef CONFIG_DEBUG_WARN
|
||||
#undef CONFIG_DEBUG_INFO
|
||||
#define CONFIG_DEBUG_FEATURES 1
|
||||
#define CONFIG_DEBUG_ERROR 1
|
||||
#define CONFIG_DEBUG_WARN 1
|
||||
#define CONFIG_DEBUG_INFO 1
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
@@ -63,14 +63,6 @@
|
||||
#define STACK_ALIGN_DOWN(a) ((a) & ~STACK_ALIGN_MASK)
|
||||
#define STACK_ALIGN_UP(a) (((a) + STACK_ALIGN_MASK) & ~STACK_ALIGN_MASK)
|
||||
|
||||
/****************************************************************************
|
||||
* Private Types
|
||||
****************************************************************************/
|
||||
|
||||
/****************************************************************************
|
||||
* Private Function Prototypes
|
||||
****************************************************************************/
|
||||
|
||||
/****************************************************************************
|
||||
* Public Functions
|
||||
****************************************************************************/
|
||||
|
||||
@@ -42,8 +42,12 @@
|
||||
/* Output debug info -- even if debug is not selected. */
|
||||
|
||||
#undef CONFIG_DEBUG_FEATURES
|
||||
#undef CONFIG_DEBUG_ERROR
|
||||
#undef CONFIG_DEBUG_WARN
|
||||
#undef CONFIG_DEBUG_INFO
|
||||
#define CONFIG_DEBUG_FEATURES 1
|
||||
#define CONFIG_DEBUG_ERROR 1
|
||||
#define CONFIG_DEBUG_WARN 1
|
||||
#define CONFIG_DEBUG_INFO 1
|
||||
|
||||
#include <debug.h>
|
||||
|
||||
@@ -42,8 +42,12 @@
|
||||
/* Output debug info -- even if debug is not selected. */
|
||||
|
||||
#undef CONFIG_DEBUG_FEATURES
|
||||
#undef CONFIG_DEBUG_ERROR
|
||||
#undef CONFIG_DEBUG_WARN
|
||||
#undef CONFIG_DEBUG_INFO
|
||||
#define CONFIG_DEBUG_FEATURES 1
|
||||
#define CONFIG_DEBUG_ERROR 1
|
||||
#define CONFIG_DEBUG_WARN 1
|
||||
#define CONFIG_DEBUG_INFO 1
|
||||
|
||||
#include <debug.h>
|
||||
|
||||
@@ -41,9 +41,15 @@
|
||||
|
||||
/* Output debug info -- even if debug is not selected. */
|
||||
|
||||
/* Output debug info -- even if debug is not selected. */
|
||||
|
||||
#undef CONFIG_DEBUG_FEATURES
|
||||
#undef CONFIG_DEBUG_ERROR
|
||||
#undef CONFIG_DEBUG_WARN
|
||||
#undef CONFIG_DEBUG_INFO
|
||||
#define CONFIG_DEBUG_FEATURES 1
|
||||
#define CONFIG_DEBUG_ERROR 1
|
||||
#define CONFIG_DEBUG_WARN 1
|
||||
#define CONFIG_DEBUG_INFO 1
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
@@ -42,8 +42,12 @@
|
||||
/* Output debug info -- even if debug is not selected. */
|
||||
|
||||
#undef CONFIG_DEBUG_FEATURES
|
||||
#undef CONFIG_DEBUG_ERROR
|
||||
#undef CONFIG_DEBUG_WARN
|
||||
#undef CONFIG_DEBUG_INFO
|
||||
#define CONFIG_DEBUG_FEATURES 1
|
||||
#define CONFIG_DEBUG_ERROR 1
|
||||
#define CONFIG_DEBUG_WARN 1
|
||||
#define CONFIG_DEBUG_INFO 1
|
||||
|
||||
#include <debug.h>
|
||||
|
||||
Reference in New Issue
Block a user