Mercurial > public > ostc4
diff Small_CPU/Src/scheduler.c @ 931:5a9bc2e6112d Evo_2_23
Added Sat Status Overview:
In addition to the navigation data now information regarding the satelliete and signal status are visualized. To enable the a new command has been added to the communication protocol and the position view has been extended.
author | Ideenmodellierer |
---|---|
date | Tue, 03 Dec 2024 20:32:51 +0100 |
parents | 9b7859554beb |
children | effadaa3a1f7 |
line wrap: on
line diff
--- a/Small_CPU/Src/scheduler.c Tue Dec 03 20:24:06 2024 +0100 +++ b/Small_CPU/Src/scheduler.c Tue Dec 03 20:32:51 2024 +0100 @@ -1747,8 +1747,11 @@ void copyGNSSdata(void) { - global.dataSendToMaster.data[0].fLat = GNSS_Handle.fLat; - global.dataSendToMaster.data[0].fLon = GNSS_Handle.fLon; + global.dataSendToMaster.data[0].gnssInfo.fLat = GNSS_Handle.fLat; + global.dataSendToMaster.data[0].gnssInfo.fLon = GNSS_Handle.fLon; + global.dataSendToMaster.data[0].gnssInfo.fixType = GNSS_Handle.fixType; + global.dataSendToMaster.data[0].gnssInfo.numSat = GNSS_Handle.numSat; + memcpy(&global.dataSendToMaster.data[0].gnssInfo.signalQual,&GNSS_Handle.statSat, sizeof(GNSS_Handle.statSat)); }