diff options
author | Bdale Garbee <bdale@gag.com> | 2013-12-19 01:38:40 -0700 |
---|---|---|
committer | Bdale Garbee <bdale@gag.com> | 2013-12-19 01:38:40 -0700 |
commit | 575bbaf976c5840fd0e308549c45a466fdec1352 (patch) | |
tree | 11bfb498348bf7687bffc24699c4b1a998988ee4 /src/stm/ao_usb_stm.c | |
parent | b825116df173b77e2cab217a7b76112c742f9279 (diff) | |
parent | bc3610d8cecbfed40c62d4dcb93fc9a4d2a7c9e3 (diff) |
Merge branch 'branch-1.3' into debian
Conflicts:
ChangeLog
altoslib/AltosRecordMM.java
altosui/Makefile.am
altosui/altos-windows.nsi.in
configure.ac
debian/changelog
debian/control
doc/Makefile
doc/altusmetrum.xsl
doc/release-notes-1.2.1.xsl
doc/release-notes-1.2.xsl
Diffstat (limited to 'src/stm/ao_usb_stm.c')
-rw-r--r-- | src/stm/ao_usb_stm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/stm/ao_usb_stm.c b/src/stm/ao_usb_stm.c index 11dde92e..28a9f9f3 100644 --- a/src/stm/ao_usb_stm.c +++ b/src/stm/ao_usb_stm.c @@ -572,7 +572,7 @@ ao_usb_ep0_out_set(uint8_t *data, uint8_t len) } static void -ao_usb_ep0_in_start(uint8_t max) +ao_usb_ep0_in_start(uint16_t max) { /* Don't send more than asked for */ if (ao_usb_ep0_in_len > max) @@ -965,7 +965,7 @@ ao_usb_disable(void) stm_usb.cntr = (1 << STM_USB_CNTR_PDWN) | (1 << STM_USB_CNTR_FRES); /* Disable the interface */ - stm_rcc.apb1enr &+ ~(1 << STM_RCC_APB1ENR_USBEN); + stm_rcc.apb1enr &= ~(1 << STM_RCC_APB1ENR_USBEN); ao_arch_release_interrupts(); } |