Mercurial > public > ostc4
comparison Discovery/Src/data_exchange_main.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 | 908d9a8e8c84 |
| children | e9c37071933b |
comparison
equal
deleted
inserted
replaced
| 930:25948e805406 | 931:5a9bc2e6112d |
|---|---|
| 1012 pStateReal->pressure_uTick_local_new = HAL_GetTick(); | 1012 pStateReal->pressure_uTick_local_new = HAL_GetTick(); |
| 1013 | 1013 |
| 1014 pStateReal->lifeData.dateBinaryFormat = dataIn.data[dataIn.boolTimeData].localtime_rtc_dr; | 1014 pStateReal->lifeData.dateBinaryFormat = dataIn.data[dataIn.boolTimeData].localtime_rtc_dr; |
| 1015 pStateReal->lifeData.timeBinaryFormat = dataIn.data[dataIn.boolTimeData].localtime_rtc_tr; | 1015 pStateReal->lifeData.timeBinaryFormat = dataIn.data[dataIn.boolTimeData].localtime_rtc_tr; |
| 1016 | 1016 |
| 1017 pStateReal->lifeData.gnssPosition.Latitude = dataIn.data[0].fLat; | 1017 memcpy(&pStateReal->lifeData.gnssData, &dataIn.data[0].gnssInfo, sizeof(dataIn.data[0].gnssInfo)); |
| 1018 pStateReal->lifeData.gnssPosition.Longitude = dataIn.data[0].fLon; | |
| 1019 } | 1018 } |
| 1020 | 1019 |
| 1021 if(pStateReal->data_old__lost_connection_to_slave == 0) | 1020 if(pStateReal->data_old__lost_connection_to_slave == 0) |
| 1022 { | 1021 { |
| 1023 //Start of diveMode? | 1022 //Start of diveMode? |
