1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-12 19:10:32 +03:00

[H7][LIB] Supress strict aliasing rule warnings on deferencing type-punned pointers

This commit is contained in:
jflyper 2019-08-16 00:22:34 +09:00
parent b310f9b348
commit 880a5d6b55

View file

@ -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