update version number calculation

This commit is contained in:
hathach 2024-05-02 17:58:01 +07:00
parent a435befcde
commit 5b908306ce
No known key found for this signature in database
GPG Key ID: 26FAB84F615C3C52

View File

@ -36,7 +36,7 @@
#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 * 1000000 + TUSB_VERSION_MINOR * 10000 + TUSB_VERSION_REVISION * 100 + TUSB_VERSION_BUILD)
#define TUSB_VERSION_STRING TU_STRING(TUSB_VERSION_MAJOR) "." TU_STRING(TUSB_VERSION_MINOR) "." TU_STRING(TUSB_VERSION_REVISION)
//--------------------------------------------------------------------+