updated to new cc2420 spi naming
This commit is contained in:
parent
857883558b
commit
0c5390339f
1 changed files with 3 additions and 3 deletions
|
@ -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_spi.c,v 1.1 2007/02/01 14:46:07 bg- Exp $
|
* @(#)$Id: cc2420_spi.c,v 1.2 2010/06/23 10:44:41 joxe Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <avr/io.h>
|
#include <avr/io.h>
|
||||||
|
@ -44,8 +44,8 @@ __cc2420_arch_init(void)
|
||||||
|
|
||||||
spi_init();
|
spi_init();
|
||||||
|
|
||||||
DDRB |= BV(RESET_N) | BV(VREG_EN) | BV(CSN);
|
DDRB |= BV(CC2420_RESET_PIN) | BV(CC2420_VREG_PIN) | BV(CC2420_CSN_PIN);
|
||||||
PORTB |= BV(RESET_N) | BV(CSN);
|
PORTB |= BV(CC2420_RESET_PIN) | BV(CC2420_CSN_PIN);
|
||||||
|
|
||||||
SPI_DISABLE(); /* Unselect radio. */
|
SPI_DISABLE(); /* Unselect radio. */
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue