change rf_tests over to using new MACA_CONTROL fields.
This commit is contained in:
parent
02c0442d84
commit
46e25b463f
|
@ -59,7 +59,7 @@ void main(void) {
|
||||||
set_power(0x0f); /* 0dbm */
|
set_power(0x0f); /* 0dbm */
|
||||||
set_channel(0); /* channel 11 */
|
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; }
|
for(i=0; i<DELAY; i++) { continue; }
|
||||||
|
|
||||||
*MACA_DMARX = (uint32_t)data; /* put data somewhere */
|
*MACA_DMARX = (uint32_t)data; /* put data somewhere */
|
||||||
|
|
|
@ -78,7 +78,7 @@ void main(void) {
|
||||||
set_power(0x0f); /* 0dbm */
|
set_power(0x0f); /* 0dbm */
|
||||||
set_channel(0); /* channel 11 */
|
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; }
|
for(i=0; i<DELAY; i++) { continue; }
|
||||||
|
|
||||||
data = (void *)DATA;
|
data = (void *)DATA;
|
||||||
|
|
Loading…
Reference in a new issue