summaryrefslogtreecommitdiff
path: root/src/device/control.c
diff options
context:
space:
mode:
authorhathach <[email protected]>2018-11-14 16:03:58 +0700
committerhathach <[email protected]>2018-11-14 16:03:58 +0700
commit5732be224c69c35efdc44f250e83e42cf52e2526 (patch)
tree4057cfdc1da2abceedf22107525b7ef429b51358 /src/device/control.c
parent983225ae606653202c4f1bba8e34a4a9825daa2a (diff)
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).
Diffstat (limited to 'src/device/control.c')
-rw-r--r--src/device/control.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/device/control.c b/src/device/control.c
index 5856f0628..26dd8fb35 100644
--- a/src/device/control.c
+++ b/src/device/control.c
@@ -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;
}