Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
car-controlserver
Project
Project
Details
Activity
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
wenzhongjian
car-controlserver
Commits
de915e31
Commit
de915e31
authored
Apr 11, 2025
by
957dd
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feature/add_post' into 'master'
update See merge request
!13
parents
a047b520
6e29f3e8
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
3 additions
and
6 deletions
+3
-6
mqtt.c.o
build/CMakeFiles/main.dir/src/mqtt.c.o
+0
-0
version.h
build/include/version.h
+2
-2
main
build/main
+0
-0
mqtt.c
src/mqtt.c
+1
-4
No files found.
build/CMakeFiles/main.dir/src/mqtt.c.o
View file @
de915e31
No preview for this file type
build/include/version.h
View file @
de915e31
#define PROJECT_VERSION_MAJOR 1
#define PROJECT_VERSION_MINOR 0
#define PROJECT_VERSION_PATCH 1
#define GIT_HASH "
4110c15
"
#define BUILD_TIMESTAMP "2025-04-10T16:
16:30
"
#define GIT_HASH "
0ae069a
"
#define BUILD_TIMESTAMP "2025-04-10T16:
44:11
"
#define BUILD_USER "orangepi"
build/main
View file @
de915e31
No preview for this file type
src/mqtt.c
View file @
de915e31
...
...
@@ -16,8 +16,6 @@ char* TOPIC = NULL;
char
*
TOPIC2
=
NULL
;
char
*
TOPIC3
=
NULL
;
char
*
version_num
;
//版本号指针
int
gPwmCount
=
0
;
// 计数
int
gmessage_type
=
10086
;
...
...
@@ -78,8 +76,7 @@ void mqtt_wirte(){//心跳格式,每5s一次心跳
if
(
AppExit_pin_pwm
/
100
!=
2
)
alarm_control
(
voltage
);
//判断电压警报
/*读取程序版本号*/
version_num
=
malloc
(
16
);
version_num
=
program_version
();
char
*
version_num
=
program_version
();
heat_tem
();
//获取CPU温度
...
...
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