aboutsummaryrefslogtreecommitdiffstats
path: root/libmaple/usb/usb_config.h
diff options
context:
space:
mode:
authorAJM <poslathian@poslathian.(none)>2010-06-09 22:25:14 -0400
committerAJM <poslathian@poslathian.(none)>2010-06-09 22:25:14 -0400
commitbe5593982965b22518c0605ef951574b4b97c871 (patch)
tree7d2b7dc51726b73474d00e0fa189ecd81fc380b5 /libmaple/usb/usb_config.h
parent8afc89be1da70c2776333b3858532c6b753e11ce (diff)
downloadlibrambutan-be5593982965b22518c0605ef951574b4b97c871.tar.gz
librambutan-be5593982965b22518c0605ef951574b4b97c871.zip
added a somewhat broken version of the reset magic number scheme.
current version gets stuck in the isr somewhere. not sure why or where. must debug.
Diffstat (limited to 'libmaple/usb/usb_config.h')
-rw-r--r--libmaple/usb/usb_config.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libmaple/usb/usb_config.h b/libmaple/usb/usb_config.h
index e1eabb3..06c81ff 100644
--- a/libmaple/usb/usb_config.h
+++ b/libmaple/usb/usb_config.h
@@ -9,6 +9,7 @@
#define VCOM_ID_PRODUCT 0x0004
#define USB_CONFIG_MAX_POWER (100 >> 1)
+#define RESET_DELAY (100)
/* choose addresses to give endpoints the max 64 byte buffers */
#define USB_BTABLE_ADDRESS 0x00