Ooops - TeensyHID bootloader makefile should use a 16MHz FCPU, not 8MHz.
[pub/USBasp.git] / Projects / MissileLauncher / MissileLauncher.c
index d15613e..26dd077 100644 (file)
@@ -97,7 +97,7 @@ uint8_t  CmdBuffer[LAUNCHER_CMD_BUFFER_SIZE];
 \r
 \r
 /** Main program entry point. This routine configures the hardware required by the application, then\r
- *  starts the scheduler to run the application tasks.\r
+ *  enters a loop to run the application tasks in sequence.\r
  */\r
 int main(void)\r
 {\r
@@ -287,7 +287,7 @@ void WriteNextReport(uint8_t* ReportOUTData, uint16_t ReportLength)
                USB_ControlRequest = (USB_Request_Header_t)\r
                        {\r
                                .bmRequestType = (REQDIR_HOSTTODEVICE | REQTYPE_CLASS | REQREC_INTERFACE),\r
-                               .bRequest      = 0x09,\r
+                               .bRequest      = REQ_SetReport,\r
                                .wValue        = 0x02,\r
                                .wIndex        = 0x01,\r
                                .wLength       = ReportLength,\r