Browse Source

usbutils remove_in_use yet again

nfactor-troky
Kano 12 years ago
parent
commit
bfdbec1d87
  1. 1
      usbutils.c

1
usbutils.c

@ -880,6 +880,7 @@ static void remove_in_use(uint8_t bus_number, uint8_t device_address) @@ -880,6 +880,7 @@ static void remove_in_use(uint8_t bus_number, uint8_t device_address)
found = true;
if (in_use_tmp == in_use_head) {
in_use_head = in_use_head->next;
if (in_use_head)
in_use_head->prev = NULL;
} else {
in_use_tmp->prev->next = in_use_tmp->next;

Loading…
Cancel
Save