Skip to content

Commit c3f7ab2

Browse files
author
Will Toth
committed
Fixed bug where device would no longer display buttons if plugged in during computer power on
Fixed naming in .project file to make it easier to import the project into CCS
1 parent 13625bb commit c3f7ab2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.project

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<projectDescription>
3-
<name>MSP430_GamePad</name>
3+
<name>MSP430-Gamepad</name>
44
<comment></comment>
55
<projects>
66
</projects>

USB_app/usbEventHandling.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ uint8_t USB_handleVbusOffEvent ()
110110
*/
111111
uint8_t USB_handleResetEvent ()
112112
{
113-
//TO DO: You can place your code here
113+
usbHidReportSendComplete = TRUE;
114114

115115
return (TRUE); //return TRUE to wake the main loop (in the case the CPU slept before interrupt)
116116
}

0 commit comments

Comments
 (0)