summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorHa Thach <[email protected]>2024-05-24 20:39:33 +0700
committerGitHub <[email protected]>2024-05-24 20:39:33 +0700
commitfd11bf17fde6cbfdb4bb1ed7070ed4111e503ae8 (patch)
tree9cd01548b08fffb923336ca3b418457da358aed0 /src
parent37e638b3dd67b1ef6e3aedad5bb0980a15b1184d (diff)
parent3175aaa0eb32e334b3b55824e93b647da3b69a44 (diff)
Merge pull request #2661 from hathach/release-0.17.0
bump up version to 0.17.0 (not release yet)
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)
//--------------------------------------------------------------------+