Fixed compile error when ETL_DEBUG_COUNT not defined

This commit is contained in:
EXPROGROUP\john.wellbelove 2018-05-10 15:26:23 +01:00
parent 9435d7b1fb
commit 35d6fc533c
3 changed files with 13 additions and 9 deletions

View File

@ -122,16 +122,16 @@ namespace etl
int32_t count; int32_t count;
}; };
}
#else #else
#define ETL_DECLARE_DEBUG_COUNT #define ETL_DECLARE_DEBUG_COUNT
#define ETL_INCREMENT_DEBUG_COUNT #define ETL_INCREMENT_DEBUG_COUNT
#define ETL_DECREMENT_DEBUG_COUNT #define ETL_DECREMENT_DEBUG_COUNT
#define ETL_ADD_DEBUG_COUNT(n) #define ETL_ADD_DEBUG_COUNT(n)
#define ETL_SUBTRACT_DEBUG_COUNT(n) #define ETL_SUBTRACT_DEBUG_COUNT(n)
#define ETL_RESET_DEBUG_COUNT #define ETL_RESET_DEBUG_COUNT
#endif // ETL_DEBUG_COUNT #endif // ETL_DEBUG_COUNT
}
#endif #endif

View File

@ -37,10 +37,10 @@ SOFTWARE.
/// Definitions of the ETL version /// Definitions of the ETL version
///\ingroup utilities ///\ingroup utilities
#define ETL_VERSION "11.9.1" #define ETL_VERSION "11.9.2"
#define ETL_VERSION_MAJOR 11 #define ETL_VERSION_MAJOR 11
#define ETL_VERSION_MINOR 9 #define ETL_VERSION_MINOR 9
#define ETL_VERSION_PATCH 1 #define ETL_VERSION_PATCH 2
#endif #endif

View File

@ -1,3 +1,7 @@
===============================================================================
11.9.2
Fixed compile error when ETL_DEBUG_COUNT is not defined.
=============================================================================== ===============================================================================
11.9.1 11.9.1
Fix Github issue #73 (Timers) Fix Github issue #73 (Timers)