aboutsummaryrefslogtreecommitdiffstats
path: root/protocol/ps2_interrupt.c
diff options
context:
space:
mode:
authorGravatar tmk <nobody@nowhere>2013-11-28 14:44:59 +0900
committerGravatar tmk <nobody@nowhere>2013-11-28 14:44:59 +0900
commit8b4fa599cf485f5d06314938a228a88dabb0b7f5 (patch)
treeee35675b22336aab59e1652f0a619333aa8baa09 /protocol/ps2_interrupt.c
parent05be3d85d1b29e0bbca243cc194a8f162c8e48f7 (diff)
downloadqmk_firmware-8b4fa599cf485f5d06314938a228a88dabb0b7f5.tar.gz
Add included header file and fix debug print
Diffstat (limited to 'protocol/ps2_interrupt.c')
-rw-r--r--protocol/ps2_interrupt.c5
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.
*/
#include <stdbool.h>
+#include <avr/interrupt.h>
#include <util/delay.h>
#include "ps2.h"
-#include "debug.h"
+#include "print.h"
#define WAIT(stat, us, err) do { \
@@ -241,7 +242,7 @@ static inline void pbuf_enqueue(uint8_t data)
pbuf[pbuf_head] = data;
pbuf_head = next;
} else {
- debug("pbuf: full\n");
+ print("pbuf: full\n");
}
SREG = sreg;
}