Changed name of the simple-cc2420 module to cc2420: changed all function names and variable names from simple_cc2420_* to cc2420_*.
This commit is contained in:
parent
6b187328bd
commit
66876625d4
10 changed files with 161 additions and 161 deletions
|
@ -28,7 +28,7 @@
|
|||
*
|
||||
* This file is part of the Contiki operating system.
|
||||
*
|
||||
* $Id: energest-demo.c,v 1.6 2008/07/01 21:02:51 adamdunkels Exp $
|
||||
* $Id: energest-demo.c,v 1.7 2008/07/02 09:05:41 adamdunkels Exp $
|
||||
*/
|
||||
|
||||
/**
|
||||
|
@ -125,8 +125,8 @@ do_sending(void)
|
|||
{
|
||||
int i;
|
||||
|
||||
simple_cc2420_set_channel(11);
|
||||
simple_cc2420_set_txpower(1);
|
||||
cc2420_set_channel(11);
|
||||
cc2420_set_txpower(1);
|
||||
|
||||
for(i = 0;i < send_amount; i++) {
|
||||
rimebuf_copyfrom(send_string, send_length);
|
||||
|
@ -135,8 +135,8 @@ do_sending(void)
|
|||
abc_send(&abc);
|
||||
mac->off(0);
|
||||
}
|
||||
simple_cc2420_set_txpower(31);
|
||||
simple_cc2420_set_channel(RF_CHANNEL);
|
||||
cc2420_set_txpower(31);
|
||||
cc2420_set_channel(RF_CHANNEL);
|
||||
}
|
||||
/*---------------------------------------------------------------------------*/
|
||||
PROCESS_THREAD(output_process, ev, data)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue