PaulStoffregen 7 years ago
parent
commit
a44e342703
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      hub.cpp

+ 1
- 1
hub.cpp View File



static uint32_t lowestbit(uint32_t bitmask) static uint32_t lowestbit(uint32_t bitmask)
{ {
return 31 - __builtin_clz(bitmask);
return __builtin_ctz(bitmask);
} }


void USBHub::control(const Transfer_t *transfer) void USBHub::control(const Transfer_t *transfer)

Loading…
Cancel
Save