diff options
Diffstat (limited to 'protocol/ps2_interrupt.c')
| -rw-r--r-- | protocol/ps2_interrupt.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/protocol/ps2_interrupt.c b/protocol/ps2_interrupt.c index 355d4e825..259d25400 100644 --- a/protocol/ps2_interrupt.c +++ b/protocol/ps2_interrupt.c | |||
| @@ -40,9 +40,10 @@ POSSIBILITY OF SUCH DAMAGE. | |||
| 40 | */ | 40 | */ |
| 41 | 41 | ||
| 42 | #include <stdbool.h> | 42 | #include <stdbool.h> |
| 43 | #include <avr/interrupt.h> | ||
| 43 | #include <util/delay.h> | 44 | #include <util/delay.h> |
| 44 | #include "ps2.h" | 45 | #include "ps2.h" |
| 45 | #include "debug.h" | 46 | #include "print.h" |
| 46 | 47 | ||
| 47 | 48 | ||
| 48 | #define WAIT(stat, us, err) do { \ | 49 | #define WAIT(stat, us, err) do { \ |
| @@ -241,7 +242,7 @@ static inline void pbuf_enqueue(uint8_t data) | |||
| 241 | pbuf[pbuf_head] = data; | 242 | pbuf[pbuf_head] = data; |
| 242 | pbuf_head = next; | 243 | pbuf_head = next; |
| 243 | } else { | 244 | } else { |
| 244 | debug("pbuf: full\n"); | 245 | print("pbuf: full\n"); |
| 245 | } | 246 | } |
| 246 | SREG = sreg; | 247 | SREG = sreg; |
| 247 | } | 248 | } |
