implement watchdog
This commit is contained in:
1 parent
9ebeab7698
commit
b3bc3ba61a
1 file changed
+1
-1
@@ -211,7 +211,7 @@ BOOL MAIN_boInitializeModule( VOID )
|
||||
boOK &= ( m_pstWatchdogTimer = osTimerNew( vEventCallback, osTimerPeriodic, (PVOID)EVENT_TIMER_UPDATE, &stWatchdogTimerAttribute ) ) == NULL ? FALSE : TRUE;
|
||||
|
||||
boOK &= (osTimerStart( m_pstUpdateTimer, 1000 ) == osOK ) ? TRUE : FALSE;
|
||||
//boOK &= (osTimerStart( m_pstWatchdogTimer, WATCHDOG ) == osOK ) ? TRUE : FALSE;
|
||||
boOK &= (osTimerStart( m_pstWatchdogTimer, WATCHDOG ) == osOK ) ? TRUE : FALSE;
|
||||
|
||||
CAND_vSetRxCallback( vMsgRxCallback );
|
||||
|
||||
|
||||
Reference in new issue
Block a user