diff options
author | Giovanni Di Sirio <gdisirio@gmail.com> | 2017-01-31 09:59:29 +0000 |
---|---|---|
committer | Giovanni Di Sirio <gdisirio@gmail.com> | 2017-01-31 09:59:29 +0000 |
commit | eb9e20c1dcf32713d41d969c07d1e947ad3a40a4 (patch) | |
tree | 2f2c2f4d2a55b0ac4f9cb26eeb2ba475ef9beadb /os/hal/ports/STM32/LLD/OTGv1/hal_usb_lld.c | |
parent | 87aec1f48cd79adb924d3cfb855e300a76a64559 (diff) | |
download | ChibiOS-eb9e20c1dcf32713d41d969c07d1e947ad3a40a4.tar.gz ChibiOS-eb9e20c1dcf32713d41d969c07d1e947ad3a40a4.tar.bz2 ChibiOS-eb9e20c1dcf32713d41d969c07d1e947ad3a40a4.zip |
More fixes related to endpoints number.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10072 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/ports/STM32/LLD/OTGv1/hal_usb_lld.c')
-rw-r--r-- | os/hal/ports/STM32/LLD/OTGv1/hal_usb_lld.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/os/hal/ports/STM32/LLD/OTGv1/hal_usb_lld.c b/os/hal/ports/STM32/LLD/OTGv1/hal_usb_lld.c index 73f585f21..069de3753 100644 --- a/os/hal/ports/STM32/LLD/OTGv1/hal_usb_lld.c +++ b/os/hal/ports/STM32/LLD/OTGv1/hal_usb_lld.c @@ -115,7 +115,7 @@ static const USBEndpointConfig ep0config = { static const stm32_otg_params_t fsparams = {
STM32_USB_OTG1_RX_FIFO_SIZE / 4,
STM32_OTG1_FIFO_MEM_SIZE,
- STM32_OTG1_ENDOPOINTS_NUMBER
+ STM32_OTG1_ENDPOINTS
};
#endif
@@ -123,7 +123,7 @@ static const stm32_otg_params_t fsparams = { static const stm32_otg_params_t hsparams = {
STM32_USB_OTG2_RX_FIFO_SIZE / 4,
STM32_OTG2_FIFO_MEM_SIZE,
- STM32_OTG2_ENDOPOINTS_NUMBER
+ STM32_OTG2_ENDPOINTS
};
#endif
|