From: sallai Date: Fri, 7 May 2010 04:30:15 +0000 (+0000) Subject: fixed capture time X-Git-Url: https://oss.titaniummirror.com/gitweb/?p=tinyos-2.x.git;a=commitdiff_plain;h=25d713fbe8024ee25f69fcb9de610e7921fac988 fixed capture time --- 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) {