Added const where possible to the source functions in the Projects directory.
Added command timeout to the AVRISP project so that incorrectly connected targets no longer freeze the device. Removed string descriptors from the TeensyHID bootloader to reduce its size.
This commit is contained in:
parent
35dac470f2
commit
d1608d4af3
20 changed files with 102 additions and 137 deletions
|
@ -82,8 +82,8 @@
|
|||
void SetupHardware(void);
|
||||
|
||||
void Read_Joystick_Status(void);
|
||||
void Send_Command_Report(uint8_t* Report, uint16_t ReportSize);
|
||||
void Send_Command(uint8_t* Command);
|
||||
void Send_Command_Report(uint8_t* const Report, const uint16_t ReportSize);
|
||||
void Send_Command(uint8_t* const Command);
|
||||
|
||||
void HID_Host_Task(void);
|
||||
|
||||
|
@ -94,6 +94,6 @@
|
|||
void EVENT_USB_Host_DeviceEnumerationComplete(void);
|
||||
|
||||
void DiscardNextReport(void);
|
||||
void WriteNextReport(uint8_t* ReportOUTData, uint16_t ReportLength);
|
||||
void WriteNextReport(uint8_t* const ReportOUTData, const uint16_t ReportLength);
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue