examples: Enable cxxinfo output if CONFIG_DEBUG_FEATURES is defined

fix the wrong logic

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao 2023-03-15 00:42:35 +08:00 committed by Petro Karashchenko
parent 0786563bba
commit a38acd685f
2 changed files with 4 additions and 4 deletions

View File

@ -38,8 +38,8 @@
// Debug ********************************************************************
// Non-standard debug that may be enabled just for testing the constructors
#ifndef CONFIG_DEBUG_FEATURES
# undef CONFIG_DEBUG_CXX
#ifdef CONFIG_DEBUG_FEATURES
# define CONFIG_DEBUG_CXX
#endif
#ifdef CONFIG_DEBUG_CXX

View File

@ -35,8 +35,8 @@
// Debug ********************************************************************
// Non-standard debug that may be enabled just for testing the constructors
#ifndef CONFIG_DEBUG_FEATURES
# undef CONFIG_DEBUG_CXX
#ifdef CONFIG_DEBUG_FEATURES
# define CONFIG_DEBUG_CXX
#endif
#ifdef CONFIG_DEBUG_CXX