cc2420 and cc2430: removed compiler warning on unused tbiv
This commit is contained in:
parent
560d6af97b
commit
01984f07c2
|
@ -45,6 +45,7 @@ ISR(TIMERB1, cc2420_timerb1_interrupt)
|
||||||
ENERGEST_ON(ENERGEST_TYPE_IRQ);
|
ENERGEST_ON(ENERGEST_TYPE_IRQ);
|
||||||
/* always read TBIV to clear IFG */
|
/* always read TBIV to clear IFG */
|
||||||
tbiv = TBIV;
|
tbiv = TBIV;
|
||||||
|
(void)tbiv;
|
||||||
if(CC2420_SFD_IS_1) {
|
if(CC2420_SFD_IS_1) {
|
||||||
cc2420_sfd_counter++;
|
cc2420_sfd_counter++;
|
||||||
cc2420_sfd_start_time = TBCCR1;
|
cc2420_sfd_start_time = TBCCR1;
|
||||||
|
|
|
@ -44,6 +44,7 @@ ISR(TIMERB1, cc2520_timerb1_interrupt)
|
||||||
ENERGEST_ON(ENERGEST_TYPE_IRQ);
|
ENERGEST_ON(ENERGEST_TYPE_IRQ);
|
||||||
/* always read TBIV to clear IFG */
|
/* always read TBIV to clear IFG */
|
||||||
tbiv = TBIV;
|
tbiv = TBIV;
|
||||||
|
(void)tbiv;
|
||||||
if(CC2520_SFD_IS_1) {
|
if(CC2520_SFD_IS_1) {
|
||||||
cc2520_sfd_counter++;
|
cc2520_sfd_counter++;
|
||||||
cc2520_sfd_start_time = TBCCR1;
|
cc2520_sfd_start_time = TBCCR1;
|
||||||
|
|
Loading…
Reference in a new issue