diff --git a/os/hal/ports/STM32/LLD/OTGv1/usb_lld.h b/os/hal/ports/STM32/LLD/OTGv1/usb_lld.h index 59394dd35..71719d4df 100644 --- a/os/hal/ports/STM32/LLD/OTGv1/usb_lld.h +++ b/os/hal/ports/STM32/LLD/OTGv1/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 8fdd38c78..9b111b96a 100644 --- a/readme.txt +++ b/readme.txt @@ -73,6 +73,8 @@ ***************************************************************************** *** 16.1.5 *** +- HAL: Fixed errors in documentation related to OTG peripheral switches + (bug #753). - HAL: Fixed CMSIS function osThreadGetPriority() does not return correct priority (bug #752). - HAL: Fixed wrong conditional branches in _adc_isr_error_code (bug #751).