Use platform configuration for CC2420/CC2520 SFD on MSP430 based platforms

This commit is contained in:
Niclas Finne 2014-02-17 13:49:59 +01:00
parent c2db3a1a14
commit 767a9aeef1
2 changed files with 2 additions and 2 deletions

View file

@ -59,7 +59,7 @@ void
cc2420_arch_sfd_init(void)
{
/* Need to select the special function! */
P4SEL = BV(CC2420_SFD_PIN);
CC2420_SFD_PORT(SEL) = BV(CC2420_SFD_PIN);
/* start timer B - 32768 ticks per second */
TBCTL = TBSSEL_1 | TBCLR;

View file

@ -58,7 +58,7 @@ void
cc2520_arch_sfd_init(void)
{
/* Need to select the special function! */
P4SEL = BV(CC2520_SFD_PIN);
CC2520_SFD_PORT(SEL) = BV(CC2520_SFD_PIN);
/* start timer B - 32768 ticks per second */
TBCTL = TBSSEL_1 | TBCLR;