summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorhathach <[email protected]>2024-05-24 20:17:53 +0700
committerhathach <[email protected]>2024-05-24 20:17:53 +0700
commit3175aaa0eb32e334b3b55824e93b647da3b69a44 (patch)
tree9cd01548b08fffb923336ca3b418457da358aed0 /src
parentafbb07b472924c3d60431f0949b08a0aff0c02a5 (diff)
increase version as pre-releases, still need more clean up before actual relesae
Diffstat (limited to 'src')
-rw-r--r--src/tusb_option.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/tusb_option.h b/src/tusb_option.h
index 674c05e54..db8b94580 100644
--- a/src/tusb_option.h
+++ b/src/tusb_option.h
@@ -29,14 +29,12 @@
#include "common/tusb_compiler.h"
-// Version is release as major.minor.revision eg 1.0.0. though there could be notable APIs before a new release.
-// For notable API changes within a release, we increase the build number.
+// Version is release as major.minor.revision eg 1.0.0
#define TUSB_VERSION_MAJOR 0
-#define TUSB_VERSION_MINOR 16
+#define TUSB_VERSION_MINOR 17
#define TUSB_VERSION_REVISION 0
-#define TUSB_VERSION_BUILD 3
-#define TUSB_VERSION_NUMBER (TUSB_VERSION_MAJOR << 24 | TUSB_VERSION_MINOR << 16 | TUSB_VERSION_REVISION << 8 | TUSB_VERSION_BUILD)
+#define TUSB_VERSION_NUMBER (TUSB_VERSION_MAJOR * 10000 + TUSB_VERSION_MINOR * 100 + TUSB_VERSION_REVISION)
#define TUSB_VERSION_STRING TU_STRING(TUSB_VERSION_MAJOR) "." TU_STRING(TUSB_VERSION_MINOR) "." TU_STRING(TUSB_VERSION_REVISION)
//--------------------------------------------------------------------+