Mercurial > public > ostc4
diff 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 |
line wrap: on
line diff
--- a/Discovery/Src/t7.c Tue Dec 10 21:03:04 2024 +0100 +++ b/Discovery/Src/t7.c Thu Dec 12 21:12:07 2024 +0100 @@ -4046,7 +4046,14 @@ if(stateUsed->lifeData.gnssData.fixType < 2) { textpointer += snprintf(&text[textpointer],50,"\001Satellites\n\r"); - textpointer += snprintf(&text[textpointer],50,"\001Status\n\r"); + if(stateUsed->lifeData.gnssData.alive) + { + textpointer += snprintf(&text[textpointer],50,"\001\020Status\n\r"); + } + else + { + textpointer += snprintf(&text[textpointer],50,"\001\021Status\n\r"); + } } else {