Mercurial > public > ostc4
comparison Discovery/Src/t7.c @ 940:4a406e873a95 Evo_2_23
GNSS improvments:
- Introduce alive indicator; Status string will switch between white and grey with every message received from the module
- shorten visibility of "shutting down" string. a busy wait of 1 second was applied in the sleep prepare function. The time is now included in the time needed to prepare the module for low power operation
- make sure GPIO is properly initialized after deep sleep
| author | Ideenmodellierer |
|---|---|
| date | Thu, 12 Dec 2024 21:12:07 +0100 |
| parents | 406d498786e7 |
| children | 6d8ae8fbccf5 |
comparison
equal
deleted
inserted
replaced
| 939:f41974734268 | 940:4a406e873a95 |
|---|---|
| 4044 t7cY0free.WindowNumberOfTextLines = 3; | 4044 t7cY0free.WindowNumberOfTextLines = 3; |
| 4045 t7cY0free.WindowY0 -= 20; | 4045 t7cY0free.WindowY0 -= 20; |
| 4046 if(stateUsed->lifeData.gnssData.fixType < 2) | 4046 if(stateUsed->lifeData.gnssData.fixType < 2) |
| 4047 { | 4047 { |
| 4048 textpointer += snprintf(&text[textpointer],50,"\001Satellites\n\r"); | 4048 textpointer += snprintf(&text[textpointer],50,"\001Satellites\n\r"); |
| 4049 textpointer += snprintf(&text[textpointer],50,"\001Status\n\r"); | 4049 if(stateUsed->lifeData.gnssData.alive) |
| 4050 { | |
| 4051 textpointer += snprintf(&text[textpointer],50,"\001\020Status\n\r"); | |
| 4052 } | |
| 4053 else | |
| 4054 { | |
| 4055 textpointer += snprintf(&text[textpointer],50,"\001\021Status\n\r"); | |
| 4056 } | |
| 4050 } | 4057 } |
| 4051 else | 4058 else |
| 4052 { | 4059 { |
| 4053 textpointer += snprintf(&text[textpointer],50,"\001Longitude\n\r"); | 4060 textpointer += snprintf(&text[textpointer],50,"\001Longitude\n\r"); |
| 4054 textpointer += snprintf(&text[textpointer],50,"\001Latitude\n\r"); | 4061 textpointer += snprintf(&text[textpointer],50,"\001Latitude\n\r"); |
