Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
H
haoJin750TFT
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
时昊
haoJin750TFT
Commits
a656a8ce
Commit
a656a8ce
authored
Dec 04, 2024
by
张金硕
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
🐞
fix:修改外部版本号为1.00
parent
81d7e9ed
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
6 deletions
+4
-6
BlueTooth.c
Firmware/Source/Application/BlueTooth.c
+3
-3
BlueTooth.h
Firmware/Source/Application/BlueTooth.h
+0
-2
UDS_ISO14229_Services.h
Firmware/Source/UDS/UDS_ISO14229_Services.h
+1
-1
No files found.
Firmware/Source/Application/BlueTooth.c
View file @
a656a8ce
...
...
@@ -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
));
...
...
Firmware/Source/Application/BlueTooth.h
View file @
a656a8ce
...
...
@@ -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*/
...
...
Firmware/Source/UDS/UDS_ISO14229_Services.h
View file @
a656a8ce
...
...
@@ -29,7 +29,7 @@
/******************************************************************************
program version
*******************************************************************************/
#define SWV 0x1
1
0 // 0x100 = 1.00 software version 软件版本号
#define SWV 0x1
0
0 // 0x100 = 1.00 software version 软件版本号
#define HWV 0x120 // 0x100 = 1.00 hardware version 硬件版本号
#define BTV 0x105 // 0x100 = 1.00 bootloader version boot程序版本号
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment