mirror of
https://github.com/apache/nuttx.git
synced 2026-06-07 01:05:54 +08:00
sensors/gps: define the number of items in the satellite info list
This commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user