sensors/gps: define the number of items in the satellite info list

This commit is contained in:
raiden00pl 2023-11-16 14:08:31 +01:00 committed by Xiang Xiao
parent 42427e9e29
commit 90cf9f871c

View File

@ -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 */