diff --git a/os/hal/ports/STM32/LLD/SPIv2/hal_spi_v2_lld.h b/os/hal/ports/STM32/LLD/SPIv2/hal_spi_v2_lld.h index 67dbfa8bc..499316e03 100644 --- a/os/hal/ports/STM32/LLD/SPIv2/hal_spi_v2_lld.h +++ b/os/hal/ports/STM32/LLD/SPIv2/hal_spi_v2_lld.h @@ -22,8 +22,8 @@ * @{ */ -#ifndef HAL_SPI_LLD_H -#define HAL_SPI_LLD_H +#ifndef HAL_SPI_V2_LLD_H +#define HAL_SPI_V2_LLD_H #if HAL_USE_SPI || defined(__DOXYGEN__) @@ -561,6 +561,6 @@ extern "C" { #endif /* HAL_USE_SPI */ -#endif /* HAL_SPI_LLD_H */ +#endif /* HAL_SPI_V2_LLD_H */ /** @} */ diff --git a/os/hal/ports/STM32/LLD/SPIv3/hal_spi_v2_lld.h b/os/hal/ports/STM32/LLD/SPIv3/hal_spi_v2_lld.h index 733bf090d..aa38de317 100644 --- a/os/hal/ports/STM32/LLD/SPIv3/hal_spi_v2_lld.h +++ b/os/hal/ports/STM32/LLD/SPIv3/hal_spi_v2_lld.h @@ -22,8 +22,8 @@ * @{ */ -#ifndef HAL_SPI_LLD_H -#define HAL_SPI_LLD_H +#ifndef HAL_SPI_V2_LLD_H +#define HAL_SPI_V2_LLD_H #if HAL_USE_SPI || defined(__DOXYGEN__) @@ -600,6 +600,6 @@ extern "C" { #endif /* HAL_USE_SPI */ -#endif /* HAL_SPI_LLD_H */ +#endif /* HAL_SPI_V2_LLD_H */ /** @} */