X-Git-Url: https://git.friedersdorff.com/?a=blobdiff_plain;f=converter%2Fpc98_usb%2Fmatrix.c;h=8833e0a851badc6cc1693771a48fe64e5f07554b;hb=c6e533ce83d6ae4393e6cdf1f6d39ffefc790115;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..8833e0a8 100644 --- a/converter/pc98_usb/matrix.c +++ b/converter/pc98_usb/matrix.c @@ -61,12 +61,38 @@ uint8_t matrix_cols(void) return MATRIX_COLS; } -void matrix_init(void) +static void pc98_inhibit_repeat(void) { - print_enable = true; - debug_enable = true; - //debug_matrix = true; + uint8_t code; + + while (serial_recv()) ; +RETRY: + PC98_RDY_PORT |= (1<