Don't send erroneous scancodes to the host by including delays for the pins to stabilize. Thanks @santiagogf89 for the idea!

This commit is contained in:
László Monda
2016-10-11 20:47:56 +02:00
parent 6885bf0449
commit 7d3abdffef

View File

@@ -86,6 +86,7 @@ static usb_status_t UsbKeyboardAction(void)
}
}
GPIO_WritePinOutput(keyMatrix.cols[col].gpio, keyMatrix.cols[col].pin, 0);
for (volatile uint32_t i=0; i<100; i++);
}
/*