-
Notifications
You must be signed in to change notification settings - Fork 8
/
arch_check.h
67 lines (51 loc) · 1.04 KB
/
arch_check.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
#ifndef ARCH_CHECK_H_
#define ARCH_CHECK_H_
/* misc defines */
#ifndef SLOW_US
# error "ARCH: missing SLOW_US"
#endif
/* IX defines */
#ifndef IX_ANALOG
# error "ARCH: missing IX_ANALOG"
#endif
#ifndef IX_DIGITAL
# error "ARCH: missing IX_DIGITAL"
#endif
#ifndef IX_INTERRUPT
# error "ARCH: missing IX_INTERRUPT"
#endif
#ifndef IX_MOTOR
# error "ARCH: missing IX_MOTOR"
#endif
#ifndef IX_OI_GROUP
# error "ARCH: missing IX_OI_GROUP"
#endif
#ifndef IX_OI_BUTTON
# error "ARCH: missing IX_OI_BUTTON"
#endif
/* OI defines */
#ifndef OI_JOY_L_X
# error "ARCH: missing OI_JOY_L_X"
#endif
#ifndef OI_JOY_L_Y
# error "ARCH: missing OI_JOY_L_Y"
#endif
#ifndef OI_JOY_R_X
# error "ARCH: missing OI_JOY_R_X"
#endif
#ifndef OI_JOY_R_Y
# error "ARCH: missing OI_JOY_R_Y"
#endif
#ifndef OI_ROCKER_L
# error "ARCH: missing OI_ROCKER_L"
#endif
#ifndef OI_ROCKER_R
# error "ARCH: missing OI_ROCKER_R"
#endif
#ifndef OI_TRIGGER_L
# error "ARCH: missing OI_TRIGGER_L"
#endif
#ifndef OI_TRIGGER_R
# error "ARCH: missing OI_TRIGGER_R"
#endif
#endif /* ARCH_CHECH_H_ */