Why more than 10 years arduino still not fixed USB detach()

More then 10 years
USBDevice.detach();
still empty procedure and therefore boards like micro, etc (with native usb) cannot enter sleep mode correctly

If you know exactly what needs to be done there, why don't you send a pull request for your change?

BTW, p.e. the SAMD core does call the corresponding library function.

There is an existing pull request which proposes to add this capability:

My suggestion would be to start by testing and reviewing that PR. If you find it to be fatally flawed, then submit a counterproposal.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.