Mercurial > public > ostc4
comparison 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 |
comparison
equal
deleted
inserted
replaced
930:25948e805406 | 931:5a9bc2e6112d |
---|---|
1745 global.dataSendToMaster.boolADCO2Data |= boolCO2Buffer; | 1745 global.dataSendToMaster.boolADCO2Data |= boolCO2Buffer; |
1746 } | 1746 } |
1747 | 1747 |
1748 void copyGNSSdata(void) | 1748 void copyGNSSdata(void) |
1749 { | 1749 { |
1750 global.dataSendToMaster.data[0].fLat = GNSS_Handle.fLat; | 1750 global.dataSendToMaster.data[0].gnssInfo.fLat = GNSS_Handle.fLat; |
1751 global.dataSendToMaster.data[0].fLon = GNSS_Handle.fLon; | 1751 global.dataSendToMaster.data[0].gnssInfo.fLon = GNSS_Handle.fLon; |
1752 global.dataSendToMaster.data[0].gnssInfo.fixType = GNSS_Handle.fixType; | |
1753 global.dataSendToMaster.data[0].gnssInfo.numSat = GNSS_Handle.numSat; | |
1754 memcpy(&global.dataSendToMaster.data[0].gnssInfo.signalQual,&GNSS_Handle.statSat, sizeof(GNSS_Handle.statSat)); | |
1752 } | 1755 } |
1753 | 1756 |
1754 | 1757 |
1755 typedef enum | 1758 typedef enum |
1756 { | 1759 { |