Revision 1426
Fixes #622.
encoders.h is not included in dragonfly_lib.h and encoders_init() is called within dragonfly_init().
dragonfly_lib.h | ||
---|---|---|
64 | 64 |
#define RANGE 0x0100 |
65 | 65 |
/** @brief Initialize the BOM **/ |
66 | 66 |
#define BOM 0x0200 |
67 |
/** @brief Initilize encoders **/ |
|
68 |
#define ENCODERS 0x400 |
|
67 | 69 |
/** @brief Initialize everything **/ |
68 |
#define ALL_ON 0x03FF
|
|
70 |
#define ALL_ON 0x07FF
|
|
69 | 71 |
|
70 | 72 |
/** @brief Initialize the board **/ |
71 | 73 |
void dragonfly_init(int config); |
... | ... | |
94 | 96 |
#include <buzzer.h> |
95 | 97 |
#include <rangefinder.h> |
96 | 98 |
#include <bom.h> |
99 |
#include <encoders.h> |
|
97 | 100 |
#include <move.h> |
98 | 101 |
#include <reset.h> |
99 | 102 |
#include <math.h> |
Also available in: Unified diff