We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The HID search loop in the CLI code has a bug.
BUG HERE -----------------v if((cur_dev->vendor_id == VID)&&(cur_dev->product_id = PID))
should be == instead of =
if((cur_dev->vendor_id == VID)&&(cur_dev->product_id == PID)){
original code :
while (cur_dev) { //Search for valid HID Bootloader USB devices if((cur_dev->vendor_id == VID)&&(cur_dev->product_id = PID)){ valid_hid_devices++; if(cur_dev->release_number < FIRMWARE_VER){ //The STM32 board has firmware lower than 3.00 printf("\nError - Please update the firmware to the latest version (v3.00+)"); goto exit; } } cur_dev = cur_dev->next; }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The HID search loop in the CLI code has a bug.
should be == instead of =
original code :
The text was updated successfully, but these errors were encountered: