Merge pull request #8713 from jflyper/bfdev-h7-fix-ll-for-size-sensitive-spi-reg
[H7][LIB] Suppress warnings on type-punned pointers (LL-SPI)
This commit is contained in:
commit
064b578d43
|
@ -17,6 +17,9 @@
|
|||
******************************************************************************
|
||||
*/
|
||||
|
||||
// Avoid strict aliasing warnings from deferencing type-punned pointers
|
||||
#pragma GCC diagnostic ignored "-Wstrict-aliasing"
|
||||
|
||||
/* Define to prevent recursive inclusion -------------------------------------*/
|
||||
#ifndef STM32H7xx_LL_SPI_H
|
||||
#define STM32H7xx_LL_SPI_H
|
||||
|
|
Loading…
Reference in New Issue