fix couple issues with usb firmware
This commit is contained in:
@@ -16,6 +16,19 @@ void spi_transfer_complete();
|
||||
#define EFM32_RW_PIN P1_B2
|
||||
#define MSG_RDY_INT_PIN P1_B1
|
||||
|
||||
#define INPUT_ENDPOINT EP2OUT
|
||||
#define OUTPUT_ENDPOINT EP3IN
|
||||
|
||||
#define INPUT_ENDPOINT_NUM 0x83
|
||||
#define OUTPUT_ENDPOINT_NUM 0x02
|
||||
|
||||
//#define INPUT_ENDPOINT EP1OUT
|
||||
//#define OUTPUT_ENDPOINT EP1IN
|
||||
//
|
||||
//#define INPUT_ENDPOINT_NUM 0x81
|
||||
//#define OUTPUT_ENDPOINT_NUM 0x01
|
||||
|
||||
|
||||
void delay(int ms);
|
||||
|
||||
#endif /* INC_APP_H_ */
|
||||
|
@@ -57,8 +57,9 @@ extern SI_SEGMENT_VARIABLE(initstruct, const USBD_Init_TypeDef, SI_SEG_CODE);
|
||||
#endif
|
||||
|
||||
#endif // __SILICON_LABS_DESCRIPTORS_H
|
||||
|
||||
#if 0
|
||||
// $[HID Report Descriptors]
|
||||
extern SI_SEGMENT_VARIABLE(ReportDescriptor0[34], const uint8_t, SI_SEG_CODE);
|
||||
extern SI_SEGMENT_VARIABLE(ReportDescriptor0[0], const uint8_t, SI_SEG_CODE);
|
||||
// [HID Report Descriptors]$
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user