Changed filename of the CC2420 driver from simple-cc2420 to cc2420.

This commit is contained in:
adamdunkels 2008-07-01 21:02:51 +00:00
parent 2569a8fc69
commit 1586d8f36f
16 changed files with 86 additions and 235 deletions

View file

@ -28,7 +28,7 @@
*
* This file is part of the Contiki operating system.
*
* $Id: sky-collect.c,v 1.4 2008/02/24 22:27:41 adamdunkels Exp $
* $Id: sky-collect.c,v 1.5 2008/07/01 21:02:51 adamdunkels Exp $
*/
/**
@ -46,9 +46,8 @@
#include "dev/button-sensor.h"
#include "dev/light.h"
#include "dev/cc2420.h"
#include "dev/sht11.h"
#include "dev/simple-cc2420.h"
#include "sys/timesynch.h"
#include <stdio.h>
#include <string.h>
#include "contiki-net.h"
@ -138,9 +137,7 @@ do_rssi(void)
simple_cc2420_on();
for(channel = 11; channel <= 26; ++channel) {
simple_cc2420_set_channel(channel);
// simple_cc2420_on();
rssi_samples[sample].channel[channel - 11] = simple_cc2420_rssi() + 53;
// simple_cc2420_off();
}
rime_mac->on();