Skip to content

Commit

Permalink
Changed message text
Browse files Browse the repository at this point in the history
- Suppress the mentioning of the word "HID" when a device is connected
  • Loading branch information
RockyZeroFour committed Apr 16, 2024
1 parent 5384c8c commit efd26e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/usb/usb_host.c
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ static void USBH_UserProcess (USBH_HandleTypeDef *phost, uint8_t id)
// Compose vidpid string
uint16_t vid = phost->device.DevDesc.idVendor;
uint16_t pid = phost->device.DevDesc.idProduct;
printf("USB HID device connected: 0x%04X:%04X\n", vid, pid);
printf("USB device connected: 0x%04X:%04X\n", vid, pid);
memset(vidpid_string, 0, sizeof(vidpid_string));
snprintf(vidpid_string, sizeof(vidpid_string), "0x%04X:%04X", vid, pid);
vidpid_string[sizeof(vidpid_string) - 1] = '\0';
Expand Down

0 comments on commit efd26e8

Please sign in to comment.