Open DDRBoxman opened 9 years ago
Tried this on my fork, works well with OS X! :+1:
This is a hack. Upstream(tmk) would not be a smart guy to merge this.
A cursory glance at the LUFA library docs tells me that USB_DeviceState
holds one of enum USB_Device_States_t
of which DEVICE_STATE_Configured
is a member.
DEVICE_STATE_Configured
roughly means the device has been enumerated and is ready.
In english I read power_down(uinit8_t)
as:
I do not understand this logic. If anyone has leads on this I would be gad to hear them.
Pull request for @tulth 's diff file in issue #21