mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-14 11:59:58 +03:00
Poisoned sprintf and snprintf
This commit is contained in:
parent
3a5010ea65
commit
a6ba19aa97
1 changed files with 4 additions and 0 deletions
|
@ -17,6 +17,10 @@
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
#if !defined(UNIT_TEST) && !defined(SITL)
|
||||||
|
#pragma GCC poison sprintf snprintf
|
||||||
|
#endif
|
||||||
|
|
||||||
#if defined(STM32F745xx) || defined(STM32F746xx) || defined(STM32F722xx)
|
#if defined(STM32F745xx) || defined(STM32F746xx) || defined(STM32F722xx)
|
||||||
#include "stm32f7xx.h"
|
#include "stm32f7xx.h"
|
||||||
#include "stm32f7xx_hal.h"
|
#include "stm32f7xx_hal.h"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue