Skip to content

Commit

Permalink
reseting radio at board-init FW-76
Browse files Browse the repository at this point in the history
  • Loading branch information
xvilajosana committed Jan 31, 2013
1 parent 747adbb commit d49513b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions firmware/openos/bsp/boards/telosb/board.c
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ void board_init() {
P4DIR |= 0x20; // [P4.5] radio VREG: output
P4DIR |= 0x40; // [P4.6] radio reset: output

P4OUT &= ~0x40; // [P4.6] radio reset low (resets the radio)
P4OUT |= 0x40; // [P4.6] radio reset high (radio active)

// initialize bsp modules
debugpins_init();
leds_init();
Expand Down

0 comments on commit d49513b

Please sign in to comment.