Commit 4a888e53 authored by Christos Gentsos's avatar Christos Gentsos

Main: initialize TMR_ERROR_CNT on startup

parent e55bf875
Pipeline #2983 failed with stage
in 0 seconds
......@@ -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();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment