summaryrefslogtreecommitdiff
path: root/hal
diff options
context:
space:
mode:
Diffstat (limited to 'hal')
-rw-r--r--hal/usb.h4
1 files changed, 2 insertions, 2 deletions
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),