Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
DIOT Monitoring Module
Manage
Activity
Members
Labels
Plan
Issues
6
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Projects
DIOT Monitoring Module
Commits
4a888e53
Commit
4a888e53
authored
3 years ago
by
Christos Gentsos
Browse files
Options
Downloads
Patches
Plain Diff
Main: initialize TMR_ERROR_CNT on startup
parent
e55bf875
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
main_fw/src/main.c
+4
-0
4 additions, 0 deletions
main_fw/src/main.c
with
4 additions
and
0 deletions
main_fw/src/main.c
+
4
−
0
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
();
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment