Skip to content

Commit

Permalink
undo debug code
Browse files Browse the repository at this point in the history
  • Loading branch information
arpruss committed Apr 10, 2021
1 parent 520e260 commit 0a532d3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion library.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name=USBComposite for STM32F1
version=1.00
version=1.01
author=Various
email[email protected]
sentence=USB HID / MIDI / mass storage / Audio library for STM32F1
Expand Down
4 changes: 1 addition & 3 deletions usb_generic.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand All @@ -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)
Expand Down

0 comments on commit 0a532d3

Please sign in to comment.