diff --git a/library.properties b/library.properties index 932d628..bd276bb 100644 --- a/library.properties +++ b/library.properties @@ -1,5 +1,5 @@ name=USBComposite for STM32F1 -version=1.00 +version=1.01 author=Various email=arpruss@gmail.com sentence=USB HID / MIDI / mass storage / Audio library for STM32F1 diff --git a/usb_generic.c b/usb_generic.c index c3e3b0e..96b617c 100644 --- a/usb_generic.c +++ b/usb_generic.c @@ -508,8 +508,6 @@ void usb_generic_disable(void) { parts[i]->clear(); } -uint8 buff=2; - static uint8* control_data_tx(uint16 length) { unsigned wOffset = pInformation->Ctrl_Info.Usb_wOffset; @@ -519,7 +517,7 @@ static uint8* control_data_tx(uint16 length) { } if (control_tx_done && pInformation->USBwLengths.w <= wOffset + pInformation->Ctrl_Info.PacketSize) { - //*control_tx_done = USB_CONTROL_DONE; // this may be a bit premature, but it's our best try + *control_tx_done = USB_CONTROL_DONE; // this may be a bit premature, but it's our best try } if (control_tx_buffer == NULL)