diff options
author | Jon Bergli Heier <snakebite@jvnv.net> | 2012-01-22 15:01:57 +0100 |
---|---|---|
committer | Jon Bergli Heier <snakebite@jvnv.net> | 2012-01-22 15:01:57 +0100 |
commit | e684c845fe3a76136af497f11daf4b666007f7f0 (patch) | |
tree | bffea325ea18d7ac86afc9d56fa2dc6836503b9c /hal | |
parent | 5fd6f9224700bf960941c00cc07370b0bc1a0632 (diff) |
Set some flags on USB reset.
Diffstat (limited to 'hal')
-rw-r--r-- | hal/usb.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -65,8 +65,8 @@ class USB_t { public: USB_reg_t& reg; USB_dev_reg_t& dev_reg; - USB_dev_iep_reg_t const* dev_iep_reg; - USB_dev_oep_reg_t const* dev_oep_reg; + USB_dev_iep_reg_t * const dev_iep_reg; + USB_dev_oep_reg_t * const dev_oep_reg; USB_t(uint32_t reg_addr) : reg(*(USB_reg_t*)reg_addr), |