Moved away from shared pointers in event handlers - didn't make sense to expose the event management implementation to handlers.
Also some other bits of tidying.
This commit is contained in:
@@ -18,7 +18,7 @@ void AtmelIce::init() {
|
||||
|
||||
if (!usbHidInterface.isInitialised()) {
|
||||
usbHidInterface.detachKernelDriver();
|
||||
UsbDevice::setConfiguration(0);
|
||||
this->setConfiguration(0);
|
||||
usbHidInterface.init();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user