diff options
Diffstat (limited to 'board.h')
-rw-r--r-- | board.h | 14 |
1 files changed, 7 insertions, 7 deletions
@@ -25,17 +25,17 @@ // distance from centre to apex of outer wire // must be ordered outwards from centre #define FOREACH_RING(M) \ - M(BULL, INNER_DIAMETER_BULL/2 + WIRE_WIDTH/2) \ - M(25, INNER_DIAMETER_25/2 + WIRE_WIDTH/2) \ + M(BULL, (INNER_DIAMETER_BULL / 2) + (WIRE_WIDTH / 2)) \ + M(25, (INNER_DIAMETER_25 / 2) + (WIRE_WIDTH / 2)) \ M(SMALL, TREBLE_OUTER_EDGE - WIRE_WIDTH - TREBLE_INSIDE_WIDTH - \ - WIRE_WIDTH/2) \ - M(TREBLE, TREBLE_OUTER_EDGE - WIRE_WIDTH/2) \ + (WIRE_WIDTH / 2)) \ + M(TREBLE, TREBLE_OUTER_EDGE - (WIRE_WIDTH / 2)) \ M(BIG, DOUBLE_OUTER_EDGE - WIRE_WIDTH - DOUBLE_INSIDE_WIDTH - \ - WIRE_WIDTH/2) \ - M(DOUBLE, DOUBLE_OUTER_EDGE - WIRE_WIDTH/2) + (WIRE_WIDTH / 2)) \ + M(DOUBLE, DOUBLE_OUTER_EDGE - (WIRE_WIDTH / 2)) #define GEN_RING_ENUM(X, D) R_ ## X, #define GEN_RING_STR(X, D) #X, -#define GEN_RING_OUTER_DIST(X, D) D, +#define GEN_RING_OUTER_DIST(X, D) (D), extern int SECTORS[]; extern double OUTER_DISTS[]; |