Commit a656a8ce authored by 张金硕's avatar 张金硕

🐞 fix:修改外部版本号为1.00

parent 81d7e9ed
......@@ -246,10 +246,10 @@ void TextService(void)
MCUVersionASCLLList[12] = DATA_Version[6];
MCUVersionASCLLList[14] = DATA_Version[7];
MCUVersionASCLLList[16] = 0x2E;
MCUVersionASCLLList[18] = SW_Version[0];
MCUVersionASCLLList[18] = (uint8_t)((SWV >> 8u) & 0x0Fu) + 0x30u;
MCUVersionASCLLList[20] = 0x2E;
MCUVersionASCLLList[22] = SW_Version[1];
MCUVersionASCLLList[24] = SW_Version[2];
MCUVersionASCLLList[22] = (uint8_t)((SWV >> 4u) & 0x0Fu) + 0x30u;
MCUVersionASCLLList[24] = (uint8_t)(SWV & 0x0Fu) + 0x30u;
memset(InformationOSVersion, 0, sizeof(InformationOSVersion));
......
......@@ -25,12 +25,10 @@ typedef struct __attribute__((aligned(4)))
}TEXT_STRUCT;
#define INFORMATION_VERSION_DATE "20241129"
#define SW_EXTERNAL_VERSION "100"
#define POWER_STATE_IGN_OFF 0u
#define POWER_STATE_IGN_ON 1u
static const uint8_t DATA_Version[8] = {INFORMATION_VERSION_DATE};
static const uint8_t SW_Version[3] = {SW_EXTERNAL_VERSION};
/*QRCode X Y height Width*/
......
......@@ -29,7 +29,7 @@
/******************************************************************************
program version
*******************************************************************************/
#define SWV 0x110 // 0x100 = 1.00 software version 软件版本号
#define SWV 0x100 // 0x100 = 1.00 software version 软件版本号
#define HWV 0x120 // 0x100 = 1.00 hardware version 硬件版本号
#define BTV 0x105 // 0x100 = 1.00 bootloader version boot程序版本号
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment