|
M5UnitUnified 0.6.3 git rev:e38fc73
|
Version of M5UnitUnified, to test at compile time (as ESP_IDF_VERSION) More...
Go to the source code of this file.
Macros | |
| #define | M5_UNIT_UNIFIED_VERSION_MAJOR 0 |
| #define | M5_UNIT_UNIFIED_VERSION_MINOR 6 |
| #define | M5_UNIT_UNIFIED_VERSION_PATCH 3 |
| #define | M5_UNIT_UNIFIED_VERSION_VAL(major, minor, patch) (((major) << 16) | ((minor) << 8) | (patch)) |
| Make a version value comparable with M5_UNIT_UNIFIED_VERSION. | |
| #define | M5_UNIT_UNIFIED_VERSION |
| Current version as a comparable value. | |
Version of M5UnitUnified, to test at compile time (as ESP_IDF_VERSION)
Keep the values the same as library.properties / library.json / idf_component.yml. M5UnitUnified 0.6.0 and older do not have these macros, so test that they are defined first:
(The two #if are needed: in one line, an undefined M5_UNIT_UNIFIED_VERSION_VAL() is an error even after a false defined() test.)
| #define M5_UNIT_UNIFIED_VERSION |
Current version as a comparable value.