mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-08-19 17:48:33 -04:00
Continue to tidy up the Fujitsu ports.
This commit is contained in:
parent
040475fca6
commit
c6965bc253
5 changed files with 89 additions and 43 deletions
|
@ -374,7 +374,12 @@ static void prvSetupHardware( void )
|
|||
Kick_Watchdog();
|
||||
#endif
|
||||
}
|
||||
#else
|
||||
#if WATCHDOG == WTC_IN_IDLE
|
||||
#error configUSE_IDLE_HOOK must be set to 1 in FreeRTOSConfig.h if the watchdog is being cleared in the idle task hook.
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
/* Tick hook function. */
|
||||
|
@ -389,6 +394,10 @@ static void prvSetupHardware( void )
|
|||
Kick_Watchdog();
|
||||
#endif
|
||||
}
|
||||
#else
|
||||
#if WATCHDOG == WTC_IN_TICK
|
||||
#error configUSE_TICK_HOOK must be set to 1 in FreeRTOSConfig.h if the watchdog is being cleared in the tick hook.
|
||||
#endif
|
||||
#endif
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue