diff --git a/os/hal/ports/STM32/LLD/xWDGv1/wdg_lld.h b/os/hal/ports/STM32/LLD/xWDGv1/wdg_lld.h index 828808d5e..8c108b5dd 100644 --- a/os/hal/ports/STM32/LLD/xWDGv1/wdg_lld.h +++ b/os/hal/ports/STM32/LLD/xWDGv1/wdg_lld.h @@ -124,11 +124,14 @@ typedef struct { * @details See the STM32 reference manual for details. */ uint32_t rlr; +#if STM32_IWDG_IS_WINDOWED || defined(__DOXYGEN__) /** * @brief Configuration of the IWDG_WINR register. * @details See the STM32 reference manual for details. + * @note This field is not present in F1, F2, F4, L1 sub-families. */ uint32_t winr; +#endif } WDGConfig; /**