add working routines to turn the mc1322x radio on and off
This commit is contained in:
parent
f57ccf41e7
commit
ad55ccdec4
3 changed files with 68 additions and 10 deletions
|
@ -265,7 +265,7 @@ int contiki_maca_transmit(unsigned short transmit_len) {
|
|||
|
||||
#if BLOCKING_TX
|
||||
/* block until tx_complete, set by contiki_maca_tx_callback */
|
||||
while(!tx_complete && (tx_head != 0));
|
||||
while((maca_pwr == 1) && !tx_complete && (tx_head != 0)) { continue; }
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue