diff options
| author | tmk <nobody@nowhere> | 2014-06-19 16:13:35 +0900 |
|---|---|---|
| committer | tmk <nobody@nowhere> | 2014-07-30 14:07:43 +0900 |
| commit | 4c8e0fd0bd1712421f957ec5e0ca16fc6bbb3856 (patch) | |
| tree | 2141d2e168ad043ea18bcb3aee3f3a03dd2a2f1b /converter/ps2_usb/matrix.c | |
| parent | 80c3ff5fa03429f1e4ea15032f665ceb88c9b8c3 (diff) | |
| download | qmk_firmware-4c8e0fd0bd1712421f957ec5e0ca16fc6bbb3856.tar.gz qmk_firmware-4c8e0fd0bd1712421f957ec5e0ca16fc6bbb3856.zip | |
Port ps2_usb to mbed
Diffstat (limited to 'converter/ps2_usb/matrix.c')
| -rw-r--r-- | converter/ps2_usb/matrix.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/converter/ps2_usb/matrix.c b/converter/ps2_usb/matrix.c index 45344c0f7..45cf2a4a9 100644 --- a/converter/ps2_usb/matrix.c +++ b/converter/ps2_usb/matrix.c | |||
| @@ -17,8 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #include <stdint.h> | 18 | #include <stdint.h> |
| 19 | #include <stdbool.h> | 19 | #include <stdbool.h> |
| 20 | #include <avr/io.h> | ||
| 21 | #include <util/delay.h> | ||
| 22 | #include "action.h" | 20 | #include "action.h" |
| 23 | #include "print.h" | 21 | #include "print.h" |
| 24 | #include "util.h" | 22 | #include "util.h" |
| @@ -189,6 +187,7 @@ uint8_t matrix_scan(void) | |||
| 189 | } | 187 | } |
| 190 | 188 | ||
| 191 | uint8_t code = ps2_host_recv(); | 189 | uint8_t code = ps2_host_recv(); |
| 190 | if (code) xprintf("%i\r\n", code); | ||
| 192 | if (!ps2_error) { | 191 | if (!ps2_error) { |
| 193 | switch (state) { | 192 | switch (state) { |
| 194 | case INIT: | 193 | case INIT: |
