X-Git-Url: https://git.friedersdorff.com/?a=blobdiff_plain;f=converter%2Fpc98_usb%2Fmatrix.c;h=d03aaf10d1b3d562998c0008cbc03232225b1e9b;hb=1385058fc21f80347c7afd2b818e38795ce9d55a;hp=2f1e821c5ddac7a5c9d0b6e7ee445e8fc023d59c;hpb=79b1f129085425c72b72bee28ed065bf243c0a0b;p=max%2Ftmk_keyboard.git diff --git a/converter/pc98_usb/matrix.c b/converter/pc98_usb/matrix.c index 2f1e821c..d03aaf10 100644 --- a/converter/pc98_usb/matrix.c +++ b/converter/pc98_usb/matrix.c @@ -61,11 +61,41 @@ uint8_t matrix_cols(void) return MATRIX_COLS; } +static void pc98_inhibit_repeat(void) +{ + uint8_t code; + + while (serial_recv()) ; +RETRY: + PC98_RDY_PORT |= (1<