From d88897bf4d4a5d5436277814d76f0991ecbf4489 Mon Sep 17 00:00:00 2001 From: gdisirio Date: Sun, 30 Aug 2009 17:21:10 +0000 Subject: Updated the coverage tool. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1145 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- test/coverage/main.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'test/coverage/main.c') diff --git a/test/coverage/main.c b/test/coverage/main.c index af8762562..893747546 100644 --- a/test/coverage/main.c +++ b/test/coverage/main.c @@ -17,15 +17,13 @@ along with this program. If not, see . */ -#include #include #include #include +#include #include -extern FullDuplexDriver COM1; - /* * Simulator main. */ @@ -33,8 +31,10 @@ int main(int argc, char *argv[]) { msg_t result; chSysInit(); - result = TestThread(&COM1); - chThdSleepMilliseconds(1); /* Gives time to flush COM1 output queue */ + sdStart(&SD1, NULL); + + result = TestThread(&SD1); + chThdSleepMilliseconds(1); /* Gives time to flush SD1 output queue */ fflush(stdout); if (result) exit(1); -- cgit v1.2.3