define TCF TCF1 and TCF2 --- the new bit structs don't work here for
some reason.
This commit is contained in:
parent
dab7faf13c
commit
c8056cc4e2
|
@ -30,7 +30,7 @@
|
||||||
*
|
*
|
||||||
* This file is part of the Contiki OS.
|
* 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 <sys/clock.h>
|
#include <sys/clock.h>
|
||||||
|
@ -49,6 +49,10 @@ static volatile clock_time_t current_clock = 0;
|
||||||
|
|
||||||
volatile unsigned long seconds = 0;
|
volatile unsigned long seconds = 0;
|
||||||
|
|
||||||
|
#define TCF 15
|
||||||
|
#define TCF1 4
|
||||||
|
#define TCF2 5
|
||||||
|
|
||||||
void
|
void
|
||||||
clock_init()
|
clock_init()
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue