re-enabled radio channels on sky motes
This commit is contained in:
parent
4879e83403
commit
67f41c8e5c
1 changed files with 4 additions and 4 deletions
|
@ -26,7 +26,7 @@
|
||||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||||
* SUCH DAMAGE.
|
* SUCH DAMAGE.
|
||||||
*
|
*
|
||||||
* $Id: SkyByteRadio.java,v 1.6 2009/01/15 13:55:20 fros4943 Exp $
|
* $Id: SkyByteRadio.java,v 1.7 2009/02/03 14:34:47 fros4943 Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package se.sics.cooja.mspmote.interfaces;
|
package se.sics.cooja.mspmote.interfaces;
|
||||||
|
@ -240,12 +240,12 @@ public class SkyByteRadio extends Radio implements CustomDataRadio {
|
||||||
}
|
}
|
||||||
|
|
||||||
public int getChannel() {
|
public int getChannel() {
|
||||||
/* TODO XXX Enable CC2420 channel selection (when implemented) */
|
cc2420.updateActiveFrequency();
|
||||||
//return cc2420.getActiveChannel();
|
return cc2420.getActiveChannel();
|
||||||
return 26;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public int getFrequency() {
|
public int getFrequency() {
|
||||||
|
cc2420.updateActiveFrequency();
|
||||||
return cc2420.getActiveFrequency();
|
return cc2420.getActiveFrequency();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue