Revision 887
Updated trunk branch of wireless... Still won't work though because of Makefile.
wireless.c | ||
---|---|---|
40 | 40 |
#include "wl_defs.h" |
41 | 41 |
|
42 | 42 |
#ifndef ROBOT |
43 |
#include <sys/time.h> |
|
44 |
#include <signal.h> |
|
43 |
#include <sys/time.h>
|
|
44 |
#include <signal.h>
|
|
45 | 45 |
#else |
46 |
#include <time.h> |
|
47 |
#ifndef FIREFLY |
|
48 |
#include <bom.h> |
|
46 |
#include <time.h> |
|
47 |
#include <bom.h> |
|
49 | 48 |
#endif |
50 |
#endif |
|
51 | 49 |
|
52 | 50 |
/*Function Prototypes*/ |
53 | 51 |
|
... | ... | |
117 | 115 |
#ifdef FIREFLY |
118 | 116 |
rtc_init(PRESCALE_DIV_256, 32, &timer_handler); |
119 | 117 |
#else |
118 |
//TODO: FIX THIS |
|
119 |
#ifdef BAYBOARD |
|
120 |
rtc_init(10 * HALF_SECOND, &timer_handler); |
|
121 |
#else |
|
120 | 122 |
rtc_init(HALF_SECOND, &timer_handler); |
123 |
#endif |
|
121 | 124 |
#endif |
122 | 125 |
#else |
123 | 126 |
|
Also available in: Unified diff