mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-19 06:15:16 +03:00
Enabled switch fallthrough checking by compiler
This commit is contained in:
parent
9dda8c4f18
commit
671382234a
20 changed files with 100 additions and 58 deletions
|
@ -123,6 +123,8 @@
|
|||
*/
|
||||
/* Includes ------------------------------------------------------------------*/
|
||||
#include "stm32f30x_hrtim.h"
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Wimplicit-fallthrough"
|
||||
|
||||
/** @addtogroup STM32F30x_StdPeriph_Driver
|
||||
* @{
|
||||
|
@ -4104,3 +4106,4 @@ void HRTIM_TIM_ResetConfig(HRTIM_TypeDef * HRTIMx,
|
|||
|
||||
|
||||
|
||||
#pragma GCC diagnostic pop
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue