Continue to tidy up the Fujitsu ports.

This commit is contained in:
Richard Barry 2008-02-13 13:32:10 +00:00
parent 040475fca6
commit c6965bc253
5 changed files with 89 additions and 43 deletions

View file

@ -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
/*-----------------------------------------------------------*/