From 25d713fbe8024ee25f69fcb9de610e7921fac988 Mon Sep 17 00:00:00 2001 From: sallai Date: Fri, 7 May 2010 04:30:15 +0000 Subject: [PATCH] fixed capture time --- tos/chips/atm128/timer/HplAtm128Timer1P.nc | 2 +- tos/chips/atm128/timer/HplAtm128Timer3P.nc | 2 +- tos/chips/atm1281/timer/HplAtm1281Timer1P.nc | 2 +- tos/chips/atm1281/timer/HplAtm1281Timer3P.nc | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tos/chips/atm128/timer/HplAtm128Timer1P.nc b/tos/chips/atm128/timer/HplAtm128Timer1P.nc index 6dfcff00..f8070cf9 100644 --- a/tos/chips/atm128/timer/HplAtm128Timer1P.nc +++ b/tos/chips/atm128/timer/HplAtm128Timer1P.nc @@ -205,7 +205,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) { diff --git a/tos/chips/atm128/timer/HplAtm128Timer3P.nc b/tos/chips/atm128/timer/HplAtm128Timer3P.nc index 77edfdd7..d3f9fe70 100644 --- a/tos/chips/atm128/timer/HplAtm128Timer3P.nc +++ b/tos/chips/atm128/timer/HplAtm128Timer3P.nc @@ -199,7 +199,7 @@ implementation } default async event void Capture.captured(uint16_t time) { } AVR_NONATOMIC_HANDLER(SIG_INPUT_CAPTURE3) { - signal Capture.captured(call Timer.get()); + signal Capture.captured(call Capture.get()); } default async event void Timer.overflow() { } AVR_NONATOMIC_HANDLER(SIG_OVERFLOW3) { diff --git a/tos/chips/atm1281/timer/HplAtm1281Timer1P.nc b/tos/chips/atm1281/timer/HplAtm1281Timer1P.nc index efc4868d..0c6e563e 100644 --- a/tos/chips/atm1281/timer/HplAtm1281Timer1P.nc +++ b/tos/chips/atm1281/timer/HplAtm1281Timer1P.nc @@ -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) { diff --git a/tos/chips/atm1281/timer/HplAtm1281Timer3P.nc b/tos/chips/atm1281/timer/HplAtm1281Timer3P.nc index e0612fef..e545f556 100644 --- a/tos/chips/atm1281/timer/HplAtm1281Timer3P.nc +++ b/tos/chips/atm1281/timer/HplAtm1281Timer3P.nc @@ -216,7 +216,7 @@ implementation } default async event void Capture.captured(uint16_t time) { } AVR_NONATOMIC_HANDLER(SIG_INPUT_CAPTURE3) { - signal Capture.captured(call Timer.get()); + signal Capture.captured(call Capture.get()); } default async event void Timer.overflow() { } AVR_NONATOMIC_HANDLER(SIG_OVERFLOW3) { -- 2.39.2