Removed non-functional cfs-xmem, replaced with cfs-ram

This commit is contained in:
adamdunkels 2007-03-23 00:00:29 +00:00
parent 4d9a716a50
commit 3950632b20

View File

@ -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: contiki-sky-main.c,v 1.3 2007/03/22 19:04:43 adamdunkels Exp $ * @(#)$Id: contiki-sky-main.c,v 1.4 2007/03/23 00:00:29 adamdunkels Exp $
*/ */
#include <stdio.h> #include <stdio.h>
@ -37,6 +37,7 @@
#include "contiki.h" #include "contiki.h"
#include "cfs/cfs-xmem.h" #include "cfs/cfs-xmem.h"
#include "cfs/cfs-ram.h"
#include "dev/button-sensor.h" #include "dev/button-sensor.h"
#include "dev/ds2411.h" #include "dev/ds2411.h"
@ -99,7 +100,7 @@ main(int argc, char **argv)
slip_arch_init(BAUD2UBR(115200)); /* Must come before first printf */ slip_arch_init(BAUD2UBR(115200)); /* Must come before first printf */
printf("Starting %s " printf("Starting %s "
"($Id: contiki-sky-main.c,v 1.3 2007/03/22 19:04:43 adamdunkels Exp $)\n", __FILE__); "($Id: contiki-sky-main.c,v 1.4 2007/03/23 00:00:29 adamdunkels Exp $)\n", __FILE__);
ds2411_init(); ds2411_init();
sensors_light_init(); sensors_light_init();
xmem_init(); xmem_init();
@ -129,7 +130,8 @@ main(int argc, char **argv)
process_start(&etimer_process, NULL); process_start(&etimer_process, NULL);
process_start(&sensors_process, NULL); process_start(&sensors_process, NULL);
cfs_xmem_init(); /* cfs_xmem_init();*/
cfs_ram_init();
simple_cc2420_init(); simple_cc2420_init();
simple_cc2420_rime_init(); simple_cc2420_rime_init();