Revision c7cd988c modules/LightRing_1-2/board.h
| modules/LightRing_1-2/board.h | ||
|---|---|---|
| 67 | 67 |
/* |
| 68 | 68 |
* Identifiers for the several breakout modules, which can be attached to the LightRing v1.2 module. |
| 69 | 69 |
*/ |
| 70 |
#define BOARD_BREAKOUT_NONE 0
|
|
| 70 |
#define BOARD_BREAKOUT_NONE -1
|
|
| 71 | 71 |
#define BOARD_BREAKOUT_UWBv10 1 |
| 72 | 72 |
|
| 73 | 73 |
/* |
| 74 | 74 |
* Configuration macro to define which breakout module is attached. |
| 75 | 75 |
*/ |
| 76 | 76 |
#if !defined(BOARD_BREAKOUT_MODULE) || defined(__DOXYGEN__) |
| 77 |
#define BOARD_BREAKOUT_MODULE BOARD_BREAKOUT_NONE |
|
| 77 |
#define BOARD_BREAKOUT_MODULE BOARD_BREAKOUT_NONE |
|
| 78 |
#elif ((BOARD_BREAKOUT_MODULE != BOARD_BREAKOUT_NONE) && \ |
|
| 79 |
(BOARD_BREAKOUT_MODULE != BOARD_BREAKOUT_UWBv10)) |
|
| 80 |
#error "BOARD_BREAKOUT_MODULE set to invalid value" |
|
| 78 | 81 |
#endif |
| 79 | 82 |
|
| 80 | 83 |
/* |
Also available in: Unified diff