Skip to content

Commit

Permalink
Changed VID/PID as per http://pid.codes/1209/BABE/
Browse files Browse the repository at this point in the history
  • Loading branch information
bootsector committed May 8, 2018
1 parent 7d9b489 commit fd352bd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions bootloader/hid.c
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@ static const uint8_t USB_DEVICE_DESC[] = {
0x00, // bDeviceSubClass
0x00, // bDeviceProtocol
0x08, // bMaxPacketSize0 8
0x55, 0xF0, // idVendor 0xF055
0x01, 0x00, // idProduct 0x0001
0x09, 0x12, // idVendor 0x1209
0xBE, 0xBA, // idProduct 0xBABE
0x01, 0x00, // bcdDevice 0.01
0x01, // iManufacturer (String Index)
0x02, // iProduct (String Index)
Expand Down
4 changes: 2 additions & 2 deletions cli/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ int main(int argc, char **argv) {

setbuf(stdout, NULL);

printf("HID-Flash v1.3b - STM32 HID Bootloader Flash Tool\n");
printf("HID-Flash v1.4 - STM32 HID Bootloader Flash Tool\n");
printf("(c) 04/2018 - Bruno Freitas - http://www.brunofreitas.com/\n\n");

if(argc != 2) {
Expand All @@ -65,7 +65,7 @@ int main(int argc, char **argv) {

hid_init();

handle = hid_open(0xF055, 0x0001, NULL);
handle = hid_open(0x1209, 0xBABE, NULL);

if (!handle) {
printf("Unable to open device.\n");
Expand Down

0 comments on commit fd352bd

Please sign in to comment.