Mercurial > public > ostc4
diff Discovery/Src/data_exchange_main.c @ 931:5a9bc2e6112d Evo_2_23 tip
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 | 908d9a8e8c84 |
children |
line wrap: on
line diff
--- a/Discovery/Src/data_exchange_main.c Tue Dec 03 20:24:06 2024 +0100 +++ b/Discovery/Src/data_exchange_main.c Tue Dec 03 20:32:51 2024 +0100 @@ -1014,8 +1014,7 @@ pStateReal->lifeData.dateBinaryFormat = dataIn.data[dataIn.boolTimeData].localtime_rtc_dr; pStateReal->lifeData.timeBinaryFormat = dataIn.data[dataIn.boolTimeData].localtime_rtc_tr; - pStateReal->lifeData.gnssPosition.Latitude = dataIn.data[0].fLat; - pStateReal->lifeData.gnssPosition.Longitude = dataIn.data[0].fLon; + memcpy(&pStateReal->lifeData.gnssData, &dataIn.data[0].gnssInfo, sizeof(dataIn.data[0].gnssInfo)); } if(pStateReal->data_old__lost_connection_to_slave == 0)