diff --git a/include/easy/profiler.h b/include/easy/profiler.h index 2cca020..ad3d1a1 100644 --- a/include/easy/profiler.h +++ b/include/easy/profiler.h @@ -41,8 +41,8 @@ along with this program.If not, see . #endif namespace profiler { - const uint8_t EASY_VERSION_MAJOR = 0; - const uint8_t EASY_VERSION_MINOR = 1; + const uint8_t EASY_VERSION_MAJOR = 1; + const uint8_t EASY_VERSION_MINOR = 0; const uint16_t EASY_VERSION_REV = 0; const uint32_t EASY_FULL_VERSION = ((uint32_t)EASY_VERSION_MAJOR << 24) | ((uint32_t)EASY_VERSION_MINOR << 16) | (uint32_t)EASY_VERSION_REV; } diff --git a/src/reader.cpp b/src/reader.cpp index c9dc787..60d7fd6 100644 --- a/src/reader.cpp +++ b/src/reader.cpp @@ -70,7 +70,8 @@ #define EASY_FULL_VER(Major, Minor, Rev) (((uint32_t)(Major) << 24) | ((uint32_t)(Minor) << 16) | (uint32_t)(Rev)) const uint32_t COMPATIBLE_VERSIONS[] = { - ::profiler::EASY_FULL_VERSION + ::profiler::EASY_FULL_VERSION, + EASY_FULL_VER(0, 1, 0) }; const uint16_t COMPATIBLE_VERSIONS_NUM = sizeof(COMPATIBLE_VERSIONS) / sizeof(uint32_t);