From 2046fdaf99d644df1d194c8e196231a2c39a8631 Mon Sep 17 00:00:00 2001 From: CrNMGuy Date: Fri, 10 Aug 2018 17:52:15 +0200 Subject: [PATCH] Update Data Model.md --- extras/doc/Data Model.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/extras/doc/Data Model.md b/extras/doc/Data Model.md index 2976e00..a9985cc 100644 --- a/extras/doc/Data Model.md +++ b/extras/doc/Data Model.md @@ -200,10 +200,14 @@ for (uint8_t i=0; i < gps.sat_count; i++) { if (gps.satellites[i].tracked) { if (gps.satellites[i] . id <= 32) GPS_satellites++; - if (gps.satellites[i] . id <= 64) + else if (gps.satellites[i] . id <= 64) SBAS_satellites++; - if (gps.satellites[i] . id <= 96) + else if (gps.satellites[i] . id <= 96) GLONASS_satellites++; + else if ((gps.satellites[i] . id >= 193) and (gps.satellites[i] . id <= 200)) + QZSS_satellites++; + else if ((gps.satellites[i] . id >= 201) and (gps.satellites[i] . id <= 235)) + BAIDU_satellites++; } } ```