[X9E] Option added to allow the usage of HORUS sticks

This commit is contained in:
Bertrand Songis
2016-02-26 13:55:09 +01:00
parent ee533c7950
commit 43b8ee361b
2 changed files with 7 additions and 1 deletions
+3 -1
View File
@@ -29,7 +29,9 @@
#define SAMPTIME 2 // sample time = 28 cycles
#define SAMPTIME_LONG 3 // sample time = 56 cycles
#if defined(REV9E)
#if defined(REV9E) && defined(HORUS_STICKS)
const int8_t ana_direction[NUMBER_ANALOG] = {1,-1,1,-1, -1,-1,-1,1, -1,1,1,1, -1};
#elif defined(REV9E)
const int8_t ana_direction[NUMBER_ANALOG] = {1,1,-1,-1, -1,-1,-1,1, -1,1,1,1, -1};
#elif defined(REVPLUS)
const int8_t ana_direction[NUMBER_ANALOG] = {1,-1,1,-1, -1,1,-1, -1,1, 1};