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:
parent
b310f9b348
commit
880a5d6b55
1 changed files with 3 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue