Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
DIOT Monitoring Module
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
6
Issues
6
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Schedules
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
DIOT Monitoring Module
Commits
8686196d
Commit
8686196d
authored
Jul 28, 2022
by
Adam Wujek
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test_master: add command to read uptime
Signed-off-by:
Adam Wujek
<
dev_public@wujek.eu
>
parent
29caf2bd
Pipeline
#3845
passed with stage
in 1 minute and 12 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
main.c
test_master/src/main.c
+8
-0
No files found.
test_master/src/main.c
View file @
8686196d
...
...
@@ -295,6 +295,14 @@ void user_interaction()
print
(
"TMR_ERROR_CNT: %lu..."
,
*
((
uint32_t
*
)
read_buf_long
));
}
break
;
case
'U'
:
i2c_m_sync_blk_cmd_read
(
&
I2C_0
,
ADDR_UPTIME_SECS
,
read_buf_long
,
&
read_buf_len
);
if
(
!
oneline
)
{
check_res_print_error
(
res
);
print
(
"UPTIME_SECS: %lu..."
,
*
((
uint32_t
*
)
read_buf_long
));
}
break
;
case
'l'
:
oneline
=
0
;
break
;
...
...
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