aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--os/hal/ports/STM32/LLD/OTGv1/hal_usb_lld.h4
-rw-r--r--readme.txt2
2 files changed, 4 insertions, 2 deletions
diff --git a/os/hal/ports/STM32/LLD/OTGv1/hal_usb_lld.h b/os/hal/ports/STM32/LLD/OTGv1/hal_usb_lld.h
index cdb61b770..168bc364b 100644
--- a/os/hal/ports/STM32/LLD/OTGv1/hal_usb_lld.h
+++ b/os/hal/ports/STM32/LLD/OTGv1/hal_usb_lld.h
@@ -55,7 +55,7 @@
/**
* @brief OTG1 driver enable switch.
* @details If set to @p TRUE the support for OTG_FS is included.
- * @note The default is @p TRUE.
+ * @note The default is @p FALSE
*/
#if !defined(STM32_USB_USE_OTG1) || defined(__DOXYGEN__)
#define STM32_USB_USE_OTG1 FALSE
@@ -64,7 +64,7 @@
/**
* @brief OTG2 driver enable switch.
* @details If set to @p TRUE the support for OTG_HS is included.
- * @note The default is @p TRUE.
+ * @note The default is @p FALSE.
*/
#if !defined(STM32_USB_USE_OTG2) || defined(__DOXYGEN__)
#define STM32_USB_USE_OTG2 FALSE
diff --git a/readme.txt b/readme.txt
index 669e38ca0..21aafad26 100644
--- a/readme.txt
+++ b/readme.txt
@@ -119,6 +119,8 @@
- RT: Merged RT4.
- NIL: Merged NIL2.
- NIL: Added STM32F7 demo.
+- HAL: Fixed errors in documentation related to OTG peripheral switches
+ (bug #753)(backported to 2.6.10, 3.0.6 and 16.1.5).
- HAL: Fixed CMSIS function osThreadGetPriority() does not return correct
priority (bug #752)(backported to 2.6.10, 3.0.6 and 16.1.5).
- HAL: Fixed wrong conditional branches in _adc_isr_error_code (bug #751)