2palpic: whitespace cleanup
[rofl0r-openDOW.git] / direction.c
blob3ba0143e51e46163eef3cc27bff1fcc73939919e
1 #include "direction.h"
3 const enum direction directionbit_direction_lut[] = {
4 [DIRB_INVALID] = DIR_INVALID,
5 [DIRB_N] = DIR_N,
6 [DIRB_S] = DIR_S,
7 [DIRB_O] = DIR_O,
8 [DIRB_W] = DIR_W,
9 [DIRB_NW] = DIR_NW,
10 [DIRB_SW] = DIR_SW,
11 [DIRB_SO] = DIR_SO,
12 [DIRB_NO] = DIR_NO,
15 const enum direction_bits direction_directionbit_lut[] = {
16 [DIR_INVALID] = DIRB_INVALID,
17 [DIR_N] = DIRB_N,
18 [DIR_S] = DIRB_S,
19 [DIR_O] = DIRB_O,
20 [DIR_W] = DIRB_W,
21 [DIR_NW] = DIRB_NW,
22 [DIR_SW] = DIRB_SW,
23 [DIR_SO] = DIRB_SO,
24 [DIR_NO] = DIRB_NO,