Adjust cc2x3x ports to the new clock API
This commit is contained in:
parent
efd6d12831
commit
1f7171f943
11 changed files with 39 additions and 29 deletions
|
@ -76,7 +76,7 @@ PROCESS_THREAD(energy_scan, ev, data)
|
|||
while(1) {
|
||||
cmax = RSSI_BASE;
|
||||
cc2430_rf_channel_set(channel);
|
||||
clock_delay(200);
|
||||
clock_delay_usec(200);
|
||||
|
||||
for(j = 0; j < RSSI_SAMPLES; j++) {
|
||||
t0 = RTIMER_NOW();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue