From e684c845fe3a76136af497f11daf4b666007f7f0 Mon Sep 17 00:00:00 2001 From: Jon Bergli Heier Date: Sun, 22 Jan 2012 15:01:57 +0100 Subject: Set some flags on USB reset. --- hal/usb.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'hal') diff --git a/hal/usb.h b/hal/usb.h index 9dc327a..14a5440 100644 --- a/hal/usb.h +++ b/hal/usb.h @@ -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), -- cgit v1.2.3