some fixy

This commit is contained in:
2025-09-04 20:36:58 -07:00
parent e9677da599
commit 98d8c14d4c
2 changed files with 6 additions and 11 deletions

View File

@@ -33,7 +33,7 @@
typedef struct{
uint8_t MODIFIER;
uint8_t RESERVED;
uint8_t KEYPRESS[12];
uint8_t KEYPRESS[14];
} HIDReportNKRO;
typedef struct{
@@ -154,12 +154,7 @@ int main(void)
// }
addHIDReport(KEY_A, 1);
USBD_HID_SendReport(&hUsbDeviceFS, (uint8_t*)&REPORT, sizeof(REPORT));
HAL_Delay(500);
addHIDReport(KEY_A, 0);
USBD_HID_SendReport(&hUsbDeviceFS, (uint8_t*)&REPORT, sizeof(REPORT));
HAL_Delay(500);
HAL_Delay(50);
/* USER CODE BEGIN 3 */
}
/* USER CODE END 3 */