update example for PR. correct share_control definition

- rename dcd,hal to dcd_samd51, hal_samd51 since some IDE has issue with
duplicated names (e.g keil, ses).
This commit is contained in:
hathach
2018-11-14 16:03:58 +07:00
parent 983225ae60
commit 5732be224c
7 changed files with 4 additions and 2 deletions

View File

@@ -48,6 +48,8 @@
control_t control_state;
CFG_TUSB_ATTR_USBRAM CFG_TUSB_MEM_ALIGN uint8_t _shared_control_buffer[64];
void controld_reset(uint8_t rhport) {
control_state.current_stage = CONTROL_STAGE_SETUP;
}