mirror of
https://github.com/tillitis/tillitis-key1.git
synced 2025-12-15 08:38:53 -05:00
ch552: Misc. cleanup
- Merge Makefile and Makefile.include into Makefile - Format structure - Remove unused variables, targets etc. - Add missing check if it is ok to send data to the FPGA. - Remove 'baud rate calculator.ods' - Update encode_usb_strings.py to generate strings for CdcCtrlInterfaceDesc, CdcDataInterfaceDesc, FidoHidInterfaceDesc, TkeyCtrlInterfaceDesc. Also store generated strings in UTF-16 instead of hex. - Update usb_strings.h to match new encode_usb_strings.py output. - Remove unused struct SetupReqBuf.
This commit is contained in:
parent
33f14122ad
commit
8d8f4c7faf
7 changed files with 126 additions and 130 deletions
|
|
@ -27,7 +27,6 @@ uint16_t SetupLen = 0;
|
|||
uint8_t SetupReq = 0;
|
||||
uint8_t UsbConfig = 0;
|
||||
const uint8_t *pDescr = NULL; // USB configuration flag
|
||||
USB_SETUP_REQ SetupReqBuf = { 0 }; // Temporary Setup package
|
||||
|
||||
#define UsbSetupBuf ((PUSB_SETUP_REQ)Ep0Buffer)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue