mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-21 23:35:34 +03:00
Merge pull request #11196 from mathiasvr/pr-std-headers
Style: Use angle brackets with standard library headers
This commit is contained in:
commit
71fea676e3
13 changed files with 27 additions and 24 deletions
|
@ -18,8 +18,8 @@
|
||||||
* If not, see <http://www.gnu.org/licenses/>.
|
* If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "stdbool.h"
|
#include <stdbool.h>
|
||||||
#include "stdint.h"
|
#include <stdint.h>
|
||||||
|
|
||||||
#include "platform.h"
|
#include "platform.h"
|
||||||
|
|
||||||
|
|
|
@ -18,8 +18,8 @@
|
||||||
* If not, see <http://www.gnu.org/licenses/>.
|
* If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "stdbool.h"
|
#include <stdbool.h>
|
||||||
#include "string.h"
|
#include <string.h>
|
||||||
|
|
||||||
#include "platform.h"
|
#include "platform.h"
|
||||||
|
|
||||||
|
|
|
@ -22,9 +22,10 @@
|
||||||
|
|
||||||
#ifdef USE_CAMERA_CONTROL
|
#ifdef USE_CAMERA_CONTROL
|
||||||
|
|
||||||
|
#include <math.h>
|
||||||
|
|
||||||
#include "camera_control.h"
|
#include "camera_control.h"
|
||||||
#include "io.h"
|
#include "io.h"
|
||||||
#include "math.h"
|
|
||||||
#include "nvic.h"
|
#include "nvic.h"
|
||||||
#include "pwm_output.h"
|
#include "pwm_output.h"
|
||||||
#include "time.h"
|
#include "time.h"
|
||||||
|
|
|
@ -28,7 +28,7 @@
|
||||||
|
|
||||||
/* Include(s) -------------------------------------------------------------------------------------------------------*/
|
/* Include(s) -------------------------------------------------------------------------------------------------------*/
|
||||||
|
|
||||||
#include "stdbool.h"
|
#include <stdbool.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
#include "platform.h"
|
#include "platform.h"
|
||||||
|
|
|
@ -25,7 +25,7 @@
|
||||||
|
|
||||||
/* Include(s) -------------------------------------------------------------------------------------------------------*/
|
/* Include(s) -------------------------------------------------------------------------------------------------------*/
|
||||||
|
|
||||||
#include "stdbool.h"
|
#include <stdbool.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
#include "platform.h"
|
#include "platform.h"
|
||||||
|
|
|
@ -25,7 +25,7 @@
|
||||||
|
|
||||||
/* Include(s) -------------------------------------------------------------------------------------------------------*/
|
/* Include(s) -------------------------------------------------------------------------------------------------------*/
|
||||||
|
|
||||||
#include "stdbool.h"
|
#include <stdbool.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
#include "platform.h"
|
#include "platform.h"
|
||||||
|
|
|
@ -18,8 +18,8 @@
|
||||||
* If not, see <http://www.gnu.org/licenses/>.
|
* If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "stdbool.h"
|
#include <stdbool.h>
|
||||||
#include "stdint.h"
|
#include <stdint.h>
|
||||||
|
|
||||||
#include "platform.h"
|
#include "platform.h"
|
||||||
|
|
||||||
|
|
|
@ -18,9 +18,9 @@
|
||||||
* If not, see <http://www.gnu.org/licenses/>.
|
* If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "stdbool.h"
|
#include <stdbool.h>
|
||||||
#include "stdint.h"
|
#include <stdint.h>
|
||||||
#include "math.h"
|
#include <math.h>
|
||||||
|
|
||||||
#include "platform.h"
|
#include "platform.h"
|
||||||
|
|
||||||
|
|
|
@ -18,9 +18,9 @@
|
||||||
* If not, see <http://www.gnu.org/licenses/>.
|
* If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "stdbool.h"
|
#include <stdbool.h>
|
||||||
#include "stdint.h"
|
#include <stdint.h>
|
||||||
#include "string.h"
|
#include <string.h>
|
||||||
|
|
||||||
#include "platform.h"
|
#include "platform.h"
|
||||||
|
|
||||||
|
|
|
@ -18,9 +18,9 @@
|
||||||
* If not, see <http://www.gnu.org/licenses/>.
|
* If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "stdbool.h"
|
#include <stdbool.h>
|
||||||
#include "stdint.h"
|
#include <stdint.h>
|
||||||
#include "string.h"
|
#include <string.h>
|
||||||
|
|
||||||
#include "platform.h"
|
#include "platform.h"
|
||||||
|
|
||||||
|
|
|
@ -47,6 +47,8 @@
|
||||||
|
|
||||||
/* Includes ------------------------------------------------------------------*/
|
/* Includes ------------------------------------------------------------------*/
|
||||||
|
|
||||||
|
#include <stdbool.h>
|
||||||
|
|
||||||
#include "platform.h"
|
#include "platform.h"
|
||||||
|
|
||||||
#include "build/atomic.h"
|
#include "build/atomic.h"
|
||||||
|
@ -56,7 +58,6 @@
|
||||||
#include "usbd_desc.h"
|
#include "usbd_desc.h"
|
||||||
#include "usbd_cdc.h"
|
#include "usbd_cdc.h"
|
||||||
#include "usbd_cdc_interface.h"
|
#include "usbd_cdc_interface.h"
|
||||||
#include "stdbool.h"
|
|
||||||
|
|
||||||
#include "drivers/nvic.h"
|
#include "drivers/nvic.h"
|
||||||
#include "drivers/serial_usb_vcp.h"
|
#include "drivers/serial_usb_vcp.h"
|
||||||
|
|
|
@ -21,11 +21,12 @@
|
||||||
|
|
||||||
/* Includes ------------------------------------------------------------------*/
|
/* Includes ------------------------------------------------------------------*/
|
||||||
|
|
||||||
|
#include <stdbool.h>
|
||||||
|
|
||||||
#include "platform.h"
|
#include "platform.h"
|
||||||
|
|
||||||
#include "usbd_cdc_vcp.h"
|
#include "usbd_cdc_vcp.h"
|
||||||
#include "stm32f4xx_conf.h"
|
#include "stm32f4xx_conf.h"
|
||||||
#include "stdbool.h"
|
|
||||||
#include "drivers/time.h"
|
#include "drivers/time.h"
|
||||||
|
|
||||||
#ifdef USB_OTG_HS_INTERNAL_DMA_ENABLED
|
#ifdef USB_OTG_HS_INTERNAL_DMA_ENABLED
|
||||||
|
|
|
@ -15,9 +15,9 @@
|
||||||
* along with Cleanflight. If not, see <http://www.gnu.org/licenses/>.
|
* along with Cleanflight. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "math.h"
|
#include <math.h>
|
||||||
#include "stdint.h"
|
#include <stdint.h>
|
||||||
#include "time.h"
|
#include <time.h>
|
||||||
|
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#include "common/axis.h"
|
#include "common/axis.h"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue