Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
H
HEV - High Energy Ventilator
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
5
Issues
5
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
HEV - High Energy Ventilator
Commits
7cf49327
Commit
7cf49327
authored
Jan 04, 2021
by
Your Name
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
https://ohwr.org/project/hev
parents
5a54cb60
db160047
Pipeline
#759
failed
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
common.cpp
arduino/hev_prototype_v1/src/common.cpp
+2
-0
No files found.
arduino/hev_prototype_v1/src/common.cpp
View file @
7cf49327
...
...
@@ -261,7 +261,9 @@ void logMsg(String s)
CommsControl
*
comms
=
getGlobalComms
();
Payload
pl_send
;
uint32_t
tnow
=
static_cast
<
uint32_t
>
(
millis
());
logmsg_data_format
log
;
log
.
timestamp
=
tnow
;
sprintf
(
log
.
message
,
"%50s"
,
""
);
sprintf
(
log
.
message
,
"%s"
,
s
.
c_str
()
);
pl_send
.
setPayload
(
PRIORITY
::
DATA_ADDR
,
reinterpret_cast
<
void
*>
(
&
log
),
sizeof
(
log
));
...
...
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