diff options
| author | Selene ToyKeeper | 2018-11-16 00:30:01 -0700 |
|---|---|---|
| committer | Selene ToyKeeper | 2018-11-16 00:30:01 -0700 |
| commit | 07eaddd4eee9756ac2ec3054e768d160037832f7 (patch) | |
| tree | 7f15d8741411a8486d394482fbf87583b5587be9 /hwdef-FF_ROT66.h | |
| parent | merged flash-safer branch (clean up flash/build scripts and make flashing les... (diff) | |
| parent | Made event definitions a little cleaner. (diff) | |
| download | anduril-07eaddd4eee9756ac2ec3054e768d160037832f7.tar.gz anduril-07eaddd4eee9756ac2ec3054e768d160037832f7.tar.bz2 anduril-07eaddd4eee9756ac2ec3054e768d160037832f7.zip | |
merged recent fsm branch updates
Diffstat (limited to 'hwdef-FF_ROT66.h')
| -rw-r--r-- | hwdef-FF_ROT66.h | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/hwdef-FF_ROT66.h b/hwdef-FF_ROT66.h index 49947ab..0913a76 100644 --- a/hwdef-FF_ROT66.h +++ b/hwdef-FF_ROT66.h @@ -1,20 +1,21 @@ /* Fireflies ROT66 driver layout + * same as a FW3A, basically, except ... */ -// same as a FW3A, basically -#include "hwdef-FW3A.h" // ... except the ROT66 has a lighted button #ifndef AUXLED_PIN #define AUXLED_PIN PB2 // pin 7 #endif +// ... and slightly different calibration +#ifndef VOLTAGE_FUDGE_FACTOR +#define VOLTAGE_FUDGE_FACTOR 7 // add 0.35V +#endif + +#include "hwdef-FW3A.h" + // ... and no optic nerve #ifdef VISION_PIN #undef VISION_PIN #endif -// average drop across diode on this hardware -#ifdef VOLTAGE_FUDGE_FACTOR -#undef VOLTAGE_FUDGE_FACTOR -#endif -#define VOLTAGE_FUDGE_FACTOR 7 // add 0.35V |
