sensors/gps: define the number of items in the satellite info list
This commit is contained in:
parent
42427e9e29
commit
90cf9f871c
@ -435,6 +435,10 @@
|
||||
|
||||
#define SENSOR_BODY_COORDINATE_P7 7
|
||||
|
||||
/* GPS satellite info slots */
|
||||
|
||||
#define SENSOR_GPS_SAT_INFO_MAX 4
|
||||
|
||||
/****************************************************************************
|
||||
* Inline Functions
|
||||
****************************************************************************/
|
||||
@ -705,7 +709,7 @@ struct sensor_gps_satellite
|
||||
|
||||
uint32_t snr;
|
||||
}
|
||||
info[4];
|
||||
info[SENSOR_GPS_SAT_INFO_MAX];
|
||||
};
|
||||
|
||||
struct sensor_wake_gesture /* Type: Wake gesture */
|
||||
|
Loading…
Reference in New Issue
Block a user