From 0d40bcce5ab8d027ca54027178167e42ebb458c1 Mon Sep 17 00:00:00 2001 From: zhaohe Date: Tue, 26 Mar 2024 16:11:40 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E7=89=88=E6=9C=AC=E5=AF=84?= =?UTF-8?q?=E5=AD=98=E5=99=A8=E6=95=B0=E5=80=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- usrc/project_configs.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/usrc/project_configs.h b/usrc/project_configs.h index 2a7eb45..15eed77 100644 --- a/usrc/project_configs.h +++ b/usrc/project_configs.h @@ -1,10 +1,12 @@ #pragma once -#define PC_VERSION (3 | 1 | 0 | 0) // main/sub/fix +#define VERSION(main, sub, fix) (main << 16 | sub << 8 | fix << 0) +#define PC_VERSION VERSION(3, 1, 0) + #define PC_MANUFACTURER0 ('i' | 'f' << 8 | 'l' << 16 | 'y' << 24) #define PC_MANUFACTURER1 ('t' | 'o' << 8 | 'p' << 16 | '\0' << 24) #define PC_PROJECT_NAME "xsync" -#define PC_DEVICE_NAME "xsync" +#define PC_DEVICE_NAME "xsync" #define PC_IFLYTOP_ENABLE_OS 1 #define PC_DEBUG_UART huart1