From c8056cc4e276a459004e2c29589f2b7ffbf68588 Mon Sep 17 00:00:00 2001 From: maralvira Date: Sun, 7 Nov 2010 14:42:02 +0000 Subject: [PATCH] define TCF TCF1 and TCF2 --- the new bit structs don't work here for some reason. --- cpu/mc1322x/clock.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/cpu/mc1322x/clock.c b/cpu/mc1322x/clock.c index fc2e417b9..0a9c871bd 100644 --- a/cpu/mc1322x/clock.c +++ b/cpu/mc1322x/clock.c @@ -30,7 +30,7 @@ * * This file is part of the Contiki OS. * - * $Id: clock.c,v 1.1 2010/06/09 14:43:22 maralvira Exp $ + * $Id: clock.c,v 1.2 2010/11/07 14:42:02 maralvira Exp $ */ #include @@ -49,6 +49,10 @@ static volatile clock_time_t current_clock = 0; volatile unsigned long seconds = 0; +#define TCF 15 +#define TCF1 4 +#define TCF2 5 + void clock_init() {