Skip to content

Commit

Permalink
1.06
Browse files Browse the repository at this point in the history
  • Loading branch information
arpruss committed Feb 3, 2022
1 parent 2428426 commit ddea2f5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion USBMultiXBox360.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ uint16_t USBXBox360Controller::getReportSize(void){
}

uint8_t* USBXBox360Controller::getReport(void){
return (uint8_t*)report;
return (uint8_t*)&report;
}

void USBXBox360Controller::setRumbleCallback(void (*callback)(uint8 left, uint8 right)) {
Expand Down
2 changes: 1 addition & 1 deletion USBXBox360W.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ uint16_t USBXBox360WController::getReportSize(void){
}

uint8_t* USBXBox360WController::getReport(void){
return (uint8_t*)report;
return (uint8_t*)&report;
}


Expand Down
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.05
version=1.06
author=Various
email[email protected]
sentence=USB HID / MIDI / mass storage / Audio library for STM32F1
Expand Down

0 comments on commit ddea2f5

Please sign in to comment.