X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=converter%2Fps2_usb%2Fmatrix.c;h=45cf2a4a90fa87e2305bf5622e26a4d2f6bba5b0;hb=4c8e0fd0bd1712421f957ec5e0ca16fc6bbb3856;hp=45344c0f759c20aa3491bd7972bce228efddbe6b;hpb=80c3ff5fa03429f1e4ea15032f665ceb88c9b8c3;p=tmk_firmware.git diff --git a/converter/ps2_usb/matrix.c b/converter/ps2_usb/matrix.c index 45344c0..45cf2a4 100644 --- a/converter/ps2_usb/matrix.c +++ b/converter/ps2_usb/matrix.c @@ -17,8 +17,6 @@ along with this program. If not, see . #include #include -#include -#include #include "action.h" #include "print.h" #include "util.h" @@ -189,6 +187,7 @@ uint8_t matrix_scan(void) } uint8_t code = ps2_host_recv(); + if (code) xprintf("%i\r\n", code); if (!ps2_error) { switch (state) { case INIT: