Revision 159
added the ifndef header protection to the header files
trunk/code/projects/libwireless/lib/sensor_matrix.h | ||
---|---|---|
7 | 7 |
* @author Brian Coltin, Colony Project, CMU Robotics Club |
8 | 8 |
**/ |
9 | 9 |
|
10 |
#ifndef SENSOR_MATRIX_H |
|
11 |
#define SENSOR_MATRIX_H |
|
12 |
|
|
13 |
|
|
10 | 14 |
/** |
11 | 15 |
* @defgroup sensormatrix Sensor Matrix |
12 | 16 |
* @brief the robot sensor matrix |
... | ... | |
67 | 71 |
|
68 | 72 |
/** @} **/ //end defgroup |
69 | 73 |
|
74 |
|
|
75 |
#endif |
trunk/code/projects/libwireless/lib/wireless.h | ||
---|---|---|
6 | 6 |
* |
7 | 7 |
* @author Brian Coltin, Colony Project, CMU Robotics Club |
8 | 8 |
**/ |
9 |
|
|
10 |
#ifndef WIRELESS_H |
|
11 |
#define WIRELESS_H |
|
9 | 12 |
|
10 | 13 |
//Note: If this is raised above 16, we will need to do |
11 | 14 |
//something about frame numbers for TX Status packets. |
... | ... | |
125 | 128 |
unsigned int wl_get_xbee_id(void); |
126 | 129 |
|
127 | 130 |
/** @} **/ // end defgroup |
131 |
|
|
132 |
#endif |
|
133 |
|
trunk/code/projects/libwireless/lib/wl_token_ring.h | ||
---|---|---|
7 | 7 |
* @author Brian Coltin, Colony Project, CMU Robotics Club |
8 | 8 |
**/ |
9 | 9 |
|
10 |
#ifndef WL_TOKEN_RING_H |
|
11 |
#define WL_TOKEN_RING_H |
|
12 |
|
|
10 | 13 |
/** |
11 | 14 |
* @defgroup tokenring Token Ring |
12 | 15 |
* @brief Wireless library token ring implementation |
... | ... | |
56 | 59 |
|
57 | 60 |
/** @} **/ //end token ring group |
58 | 61 |
|
62 |
#endif |
trunk/code/projects/libwireless/lib/wl_defs.h | ||
---|---|---|
1 |
#ifndef WL_DEFS_H |
|
2 |
#define WL_DEFS_H |
|
3 |
|
|
1 | 4 |
//comment out this line if using a computer hooked up to an xbee |
2 | 5 |
//#define ROBOT |
3 | 6 |
|
... | ... | |
63 | 66 |
|
64 | 67 |
#endif |
65 | 68 |
|
69 |
#endif |
trunk/code/projects/libwireless/lib/xbee.h | ||
---|---|---|
10 | 10 |
* @author Brian Coltin, Colony Project, CMU Robotics Club |
11 | 11 |
**/ |
12 | 12 |
|
13 |
#ifndef XBEE_H |
|
14 |
#define XBEE_H |
|
15 |
|
|
13 | 16 |
/** |
14 | 17 |
* The port to use the XBee from on the computer. |
15 | 18 |
* Also, a backup port if the other is used. |
... | ... | |
70 | 73 |
|
71 | 74 |
/**@}**/ //end defgroup |
72 | 75 |
|
76 |
#endif |
trunk/code/projects/libwireless/lib/queue.h | ||
---|---|---|
7 | 7 |
* @author Brian Coltin, Colony Project |
8 | 8 |
**/ |
9 | 9 |
|
10 |
#ifndef WIRELESS_QUEUE_H |
|
11 |
#define WIRELESS_QUEUE_H |
|
12 |
|
|
10 | 13 |
struct node_def; |
11 | 14 |
|
12 | 15 |
/** |
... | ... | |
55 | 58 |
|
56 | 59 |
/** @} **/ |
57 | 60 |
|
61 |
|
|
62 |
#endif |
trunk/code/projects/libwireless/lib/wl_error_group.h | ||
---|---|---|
1 |
#ifndef WL_ERROR_GROUP_H |
|
2 |
#define WL_ERROR_GROUP_H |
|
3 |
|
|
1 | 4 |
/** |
2 | 5 |
* @file wl_error_group.h |
3 | 6 |
* @brief A packet group for error messages. |
... | ... | |
26 | 29 |
|
27 | 30 |
/** @} **/ // end defgroup |
28 | 31 |
|
32 |
#endif |
Also available in: Unified diff