fixed variable names

This commit is contained in:
joxe 2009-04-02 22:39:29 +00:00
parent 7d2a08b29c
commit 4f41b30b2b

View File

@ -26,7 +26,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE. * SUCH DAMAGE.
* *
* @(#)$Id: cc2420-arch.c,v 1.3 2009/04/02 22:23:06 joxe Exp $ * @(#)$Id: cc2420-arch.c,v 1.4 2009/04/02 22:39:29 joxe Exp $
*/ */
#include <io.h> #include <io.h>
@ -65,9 +65,9 @@ cc24240_timerb1_interrupt(void)
/* always read TBIV to clear IFG */ /* always read TBIV to clear IFG */
tbiv = TBIV; tbiv = TBIV;
if(SFD_IS_1) { if(SFD_IS_1) {
start_time = TBCCR1; sfd_start_time = TBCCR1;
} else { } else {
end_time = TBCCR1; sfd_end_time = TBCCR1;
} }
ENERGEST_OFF(ENERGEST_TYPE_IRQ); ENERGEST_OFF(ENERGEST_TYPE_IRQ);
} }