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
4a888e53
Commit
4a888e53
authored
Dec 15, 2021
by
Christos Gentsos
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Main: initialize TMR_ERROR_CNT on startup
parent
e55bf875
Pipeline
#2983
failed with stage
in 0 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
main.c
main_fw/src/main.c
+4
-0
No files found.
main_fw/src/main.c
View file @
4a888e53
...
...
@@ -17,6 +17,8 @@ __DEFAULT_NO_xMR
//! PMBus commmands structure
extern
cmd_space_t
cmds
;
extern
uint32_t
TMR_ERROR_CNT
;
#ifdef MMRTSB
#define MAX_PAGE 3
#else
...
...
@@ -521,6 +523,8 @@ int main(void)
SCB
->
SCR
|=
SCB_SCR_SLEEPONEXIT_Msk
;
TMR_ERROR_CNT
=
0
;
// initialize TMR error counter
endless_loop
();
}
...
...
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