Skip to content

Commit

Permalink
fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
samuelsadok committed Sep 1, 2021
1 parent 50e3ece commit b23264e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cpp/platform_support/usb_host_adapter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ RichStatus UsbHostAdapter::consider(UsbDevice* device, InterfaceSpecs* specs) {

F_RET_IF_ERR(device->with_active_config_desc([&](const UsbConfigDesc* config_desc) {
for (uint8_t i = 0; i < config_desc->n_interfaces; ++i) {
for (int j = 0; j < config_desc->interfaces[i].n_altsettings; ++j) {
for (size_t j = 0; j < config_desc->interfaces[i].n_altsettings; ++j) {
const UsbAlternateDesc* alt_desc = &(config_desc->interfaces[i].alternates[j]);

bool mismatch = (specs->interface_class != -1 && alt_desc->interface_class != specs->interface_class)
Expand Down

0 comments on commit b23264e

Please sign in to comment.