diff options
Diffstat (limited to 'tmk_core/protocol/ps2_interrupt.c')
-rw-r--r-- | tmk_core/protocol/ps2_interrupt.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/tmk_core/protocol/ps2_interrupt.c b/tmk_core/protocol/ps2_interrupt.c index 780040d15..70debd02f 100644 --- a/tmk_core/protocol/ps2_interrupt.c +++ b/tmk_core/protocol/ps2_interrupt.c | |||
@@ -73,17 +73,17 @@ static inline void pbuf_clear(void); | |||
73 | void ps2_interrupt_service_routine(void); | 73 | void ps2_interrupt_service_routine(void); |
74 | void palCallback(void *arg) { ps2_interrupt_service_routine(); } | 74 | void palCallback(void *arg) { ps2_interrupt_service_routine(); } |
75 | 75 | ||
76 | # define PS2_INT_INIT() \ | 76 | # define PS2_INT_INIT() \ |
77 | { palSetLineMode(PS2_CLOCK, PAL_MODE_INPUT); } \ | 77 | { palSetLineMode(PS2_CLOCK_PIN, PAL_MODE_INPUT); } \ |
78 | while (0) | 78 | while (0) |
79 | # define PS2_INT_ON() \ | 79 | # define PS2_INT_ON() \ |
80 | { \ | 80 | { \ |
81 | palEnableLineEvent(PS2_CLOCK, PAL_EVENT_MODE_FALLING_EDGE); \ | 81 | palEnableLineEvent(PS2_CLOCK_PIN, PAL_EVENT_MODE_FALLING_EDGE); \ |
82 | palSetLineCallback(PS2_CLOCK, palCallback, NULL); \ | 82 | palSetLineCallback(PS2_CLOCK_PIN, palCallback, NULL); \ |
83 | } \ | 83 | } \ |
84 | while (0) | 84 | while (0) |
85 | # define PS2_INT_OFF() \ | 85 | # define PS2_INT_OFF() \ |
86 | { palDisableLineEvent(PS2_CLOCK); } \ | 86 | { palDisableLineEvent(PS2_CLOCK_PIN); } \ |
87 | while (0) | 87 | while (0) |
88 | #endif // PROTOCOL_CHIBIOS | 88 | #endif // PROTOCOL_CHIBIOS |
89 | 89 | ||