change rf_tests over to using new MACA_CONTROL fields.

This commit is contained in:
Mariano Alvira 2010-03-03 18:47:22 -05:00
parent 02c0442d84
commit 46e25b463f
2 changed files with 2 additions and 2 deletions

View file

@ -59,7 +59,7 @@ void main(void) {
set_power(0x0f); /* 0dbm */
set_channel(0); /* channel 11 */
*MACA_CONTROL = SMAC_MACA_CNTL_INIT_STATE;
*MACA_CONTROL = (1 << PRM) | (NO_CCA << MODE);
for(i=0; i<DELAY; i++) { continue; }
*MACA_DMARX = (uint32_t)data; /* put data somewhere */

View file

@ -78,7 +78,7 @@ void main(void) {
set_power(0x0f); /* 0dbm */
set_channel(0); /* channel 11 */
*MACA_CONTROL = SMAC_MACA_CNTL_INIT_STATE;
*MACA_CONTROL = (1 << PRM) | (NO_CCA << MODE);
for(i=0; i<DELAY; i++) { continue; }
data = (void *)DATA;