0
mirror of https://github.com/OneOfEleven/uv-k5-firmware-custom.git synced 2025-06-19 22:58:04 +03:00

removed SYSTICK_DelayUs()

This commit is contained in:
OneOfEleven
2023-11-05 20:26:42 +00:00
parent b438d7a903
commit 465d7333e3
10 changed files with 43 additions and 65 deletions

View File

@ -125,7 +125,7 @@ key_code_t KEYBOARD_Poll(void)
for (i = 0, k = 0, reg = 0; i < 3 && k < 8; i++, k++)
{
uint16_t reg2;
SYSTICK_DelayUs(1);
SYSTICK_Delay250ns(4);
reg2 = GPIOA->DATA;
if (reg != reg2)
{ // noise