diff packages/devs/watchdog/current/src/emulate.cxx @ 32:5af43b635655 ecos-sw-1999-08-18

Merge from eCos master repository on 1999-08-18-15:20:01-BST
author jlarmour
date Wed, 18 Aug 1999 15:33:44 +0000
parents 306eee292492
children c38311975d4f
line wrap: on
line diff
--- a/packages/devs/watchdog/current/src/emulate.cxx
+++ b/packages/devs/watchdog/current/src/emulate.cxx
@@ -87,11 +87,21 @@ Cyg_Watchdog::Cyg_Watchdog()
     Cyg_Clock::cyg_resolution res = Cyg_Clock::real_time_clock->get_resolution();
 
     one_sec             = ( res.divisor * 1000000000LL ) / res.dividend ;
+
+    resolution          = 1000000000LL;
     
     CYG_REPORT_RETURN();
 }
 
 // -------------------------------------------------------------------------
+// Return reset resolution
+
+cyg_uint64 Cyg_Watchdog::get_resolution()
+{
+    return resolution;
+}
+
+// -------------------------------------------------------------------------
 // Start the watchdog running.
 
 void Cyg_Watchdog::start()