Mercurial > public > ostc4
comparison Small_CPU/Src/GNSS.c @ 940:4a406e873a95 Evo_2_23 tip
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 | effadaa3a1f7 |
children |
comparison
equal
deleted
inserted
replaced
939:f41974734268 | 940:4a406e873a95 |
---|---|
136 | 136 |
137 if((GNSS->fLat == 0.0) && (GNSS->fLon == 0.0)) | 137 if((GNSS->fLat == 0.0) && (GNSS->fLon == 0.0)) |
138 { | 138 { |
139 GNSS->fLat = searchCnt++; | 139 GNSS->fLat = searchCnt++; |
140 } | 140 } |
141 | |
142 GNSS->alive = !GNSS->alive; | |
141 } | 143 } |
142 | 144 |
143 /*! | 145 /*! |
144 * Parse data to UTC time solution standard. | 146 * Parse data to UTC time solution standard. |
145 * Look at: 32.17.30.1 u-blox 8 Receiver description. | 147 * Look at: 32.17.30.1 u-blox 8 Receiver description. |