projects
/
mirrors
/
FD230.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
90dd797
)
修改Version 的拼接方式。
author
SnickerSun
<snickersun@163.com>
Sat, 16 Mar 2024 06:51:04 +0000
(14:51 +0800)
committer
SnickerSun
<snickersun@163.com>
Sat, 16 Mar 2024 06:51:04 +0000
(14:51 +0800)
code/sdk/drivers/peripheral/utils/custom_utils.c
patch
|
blob
|
history
diff --git
a/code/sdk/drivers/peripheral/utils/custom_utils.c
b/code/sdk/drivers/peripheral/utils/custom_utils.c
index
bebe962
..
0fccf6c
100644
(file)
--- a/
code/sdk/drivers/peripheral/utils/custom_utils.c
+++ b/
code/sdk/drivers/peripheral/utils/custom_utils.c
@@
-594,11
+594,11
@@
errcode_t uapi_get_buildversion(uint8_t *para, uint32_t para_len)
char str[VER_STR_MAX];
#if !(defined BUILD_TIME)
#warning no BUILD_TIME
- (void)sprintf_s(str, VER_STR_MAX, "
\r\nVersion:%s \r\n
",
+ (void)sprintf_s(str, VER_STR_MAX, "
%s
",
get_version_string());
#else
- (void)sprintf_s(str, VER_STR_MAX, "
\r\nVersion:%s %s\r\n
",
+ (void)sprintf_s(str, VER_STR_MAX, "
%s_%s
",
get_version_string(), BUILD_TIME);
#endif