]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/chips/atm1281/timer/HplAtm1281Timer1P.nc
fixed capture time
[tinyos-2.x.git] / tos / chips / atm1281 / timer / HplAtm1281Timer1P.nc
index efc4868dc0d7c8d9b341da96255f442e1c8b30c2..0c6e563e55e2a9d76a4c34f8fd853cd5fd577862 100644 (file)
@@ -216,7 +216,7 @@ implementation
   }
   default async event void Capture.captured(uint16_t time) { }
   AVR_NONATOMIC_HANDLER(SIG_INPUT_CAPTURE1) {
-    signal Capture.captured(call Timer.get());
+    signal Capture.captured(call Capture.get());
   }
   default async event void Timer.overflow() { }
   AVR_NONATOMIC_HANDLER(SIG_OVERFLOW1) {