X-Git-Url: https://git.friedersdorff.com/?a=blobdiff_plain;ds=sidebyside;f=converter%2Fpc98_usb%2Fmatrix.c;h=54bb30414d7b458859ecf21f7d137386f0c2815a;hb=effdef418747406b81e3b4545fa3e911d0931d2f;hp=d03aaf10d1b3d562998c0008cbc03232225b1e9b;hpb=38bbe976e00a9a7bf6f8157016717e80503bf6a9;p=max%2Ftmk_keyboard.git
diff --git a/converter/pc98_usb/matrix.c b/converter/pc98_usb/matrix.c
index d03aaf10..54bb3041 100644
--- a/converter/pc98_usb/matrix.c
+++ b/converter/pc98_usb/matrix.c
@@ -22,6 +22,7 @@ along with this program. If not, see .
#include "print.h"
#include "util.h"
#include "matrix.h"
+#include "led.h"
#include "debug.h"
#include "protocol/serial.h"
@@ -46,57 +47,47 @@ static uint8_t matrix[MATRIX_ROWS];
#define ROW(code) ((code>>3)&0xF)
#define COL(code) (code&0x07)
-static bool is_modified = false;
-
-inline
-uint8_t matrix_rows(void)
+static void pc98_send(uint8_t data)
{
- return MATRIX_ROWS;
+ PC98_RDY_PORT |= (1<