Library to control Dodge LX (83.3k) CAN devices
Dependencies: DodgeRadioLib EthernetWrapperLib OBDIILib mbed
Diff: WatchDogTimer.cpp
- Revision:
- 5:46f139e53b15
- Parent:
- 2:e8b13ea2881b
--- a/WatchDogTimer.cpp Mon Jan 16 01:59:04 2012 +0000 +++ b/WatchDogTimer.cpp Tue Jan 24 02:18:42 2012 +0000 @@ -21,4 +21,9 @@ bool WatchDogTimer::TimedOut() { return ((LPC_WDT->WDMOD >> 2) & 1); +} + +void WatchDogTimer::Disable() +{ + LPC_WDT->WDMOD = 0; } \ No newline at end of file