Rename keyMatrix to KeyMatrix because it's a global.

This commit is contained in:
László Monda
2017-01-02 23:11:24 +01:00
parent c1a6eaffde
commit 3942d089de
3 changed files with 5 additions and 5 deletions

View File

@@ -50,7 +50,7 @@ void UsbKeyboadTask()
UsbKeyboardReport[newReportIndex].modifiers = 0;
UsbKeyboardReport[newReportIndex].reserved = 0;
KeyMatrix_Scan(&keyMatrix);
KeyMatrix_Scan(&KeyMatrix);
uint8_t txData[] = {0};
static uint8_t leftKeyStates[KEY_STATE_COUNT];
@@ -60,7 +60,7 @@ void UsbKeyboadTask()
}
bzero(&UsbKeyboardReport[newReportIndex].scancodes, USB_KEYBOARD_MAX_KEYS);
HandleKeyboardEvents(&UsbKeyboardReport[newReportIndex], &UsbMouseReport, leftKeyStates, keyMatrix.keyStates);
HandleKeyboardEvents(&UsbKeyboardReport[newReportIndex], &UsbMouseReport, leftKeyStates, KeyMatrix.keyStates);
activeReportIndex = newReportIndex;
}