Mercurial > ecos
changeset 1882:34ebc3d61174
* src/watchdog_h8300.cxx: add include header
| author | asl |
|---|---|
| date | Sat, 29 Jan 2005 17:43:07 +0000 |
| parents | 9558d3d305bf |
| children | a16252f31c44 |
| files | packages/devs/watchdog/h8300/h8300h/current/ChangeLog packages/devs/watchdog/h8300/h8300h/current/src/watchdog_h8300h.cxx |
| diffstat | 2 files changed, 6 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/packages/devs/watchdog/h8300/h8300h/current/ChangeLog +++ b/packages/devs/watchdog/h8300/h8300h/current/ChangeLog @@ -1,3 +1,7 @@ +2005-01-27 Yoshinori Sato <ysato@users.sourceforge.jp> + + * src/watchdog_h8300.cxx: add include header + 2002-08-14 Yoshinori Sato <qzb04471@nifty.ne.jp> * New package.
--- a/packages/devs/watchdog/h8300/h8300h/current/src/watchdog_h8300h.cxx +++ b/packages/devs/watchdog/h8300/h8300h/current/src/watchdog_h8300h.cxx @@ -56,6 +56,7 @@ #include <cyg/infra/cyg_trac.h> // tracing macros +#include <cyg/hal/hal_arch.h> #include <cyg/hal/hal_io.h> // IO register access #include <cyg/hal/mod_regs_wdt.h> // watchdog register definitions @@ -90,8 +91,7 @@ Cyg_Watchdog::start() HAL_WRITE_UINT16(CYGARC_TCSR,CYGARC_TCNT_MAGIC); //Start WDT HAL_WRITE_UINT16(CYGARC_TCSR,CYGARC_TCSR_MAGIC| - CYGARC_WDT_WT|CYGARC_WDT_TME|CYGARC_WDT_CKS); - + CYGARC_WDT_WT|CYGARC_WDT_TME|CYGARC_WDT_CKS); CYG_REPORT_RETURN(); }
