diff --git a/platform/pc-6001/apps/tinysample/tinysample.c b/platform/pc-6001/apps/tinysample/tinysample.c index 7b11638e5..1e9890577 100644 --- a/platform/pc-6001/apps/tinysample/tinysample.c +++ b/platform/pc-6001/apps/tinysample/tinysample.c @@ -30,7 +30,7 @@ * * Author: Oliver Schmidt * - * $Id: tinysample.c,v 1.1 2007/09/11 12:12:59 matsutsuka Exp $ + * $Id: tinysample.c,v 1.2 2007/11/28 09:37:11 matsutsuka Exp $ */ /** @@ -41,7 +41,7 @@ */ #include "contiki.h" -#include "libconio.h" +#include "libconio_arch-small.h" PROCESS(tiny_process, "Tiny Sample"); @@ -53,14 +53,13 @@ PROCESS_THREAD(tiny_process, ev, data) PROCESS_BEGIN(); - clrscr(); - gotoxy(0, 0); + clrscr_arch(); while(1) { etimer_set(&timer, CLOCK_SECOND / 32); PROCESS_WAIT_EVENT(); if(etimer_expired(&timer)) { - cputs(ch); + libputs_arch(ch); ch[0]++; } }