mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-07-07 07:00:34 +08:00
Added stdc_format_macros for all inttypes.h includes.
This commit is contained in:
@@ -41,6 +41,7 @@
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <stdbool.h>
|
||||
#define __STDC_FORMAT_MACROS
|
||||
#include <inttypes.h>
|
||||
|
||||
#include <time.h>
|
||||
|
||||
@@ -40,8 +40,9 @@
|
||||
|
||||
#ifndef I2C_FRAME_H_
|
||||
#define I2C_FRAME_H_
|
||||
#include <inttypes.h>
|
||||
|
||||
#define __STDC_FORMAT_MACROS 1
|
||||
#include <inttypes.h>
|
||||
|
||||
typedef struct i2c_frame
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user