raised gps task priority
This commit is contained in:
parent
88e51830ee
commit
5ea1de2ab5
@ -12,10 +12,10 @@
|
|||||||
; ---> SELECT TARGET PLATFORM HERE! <---
|
; ---> SELECT TARGET PLATFORM HERE! <---
|
||||||
[platformio]
|
[platformio]
|
||||||
;env_default = heltec
|
;env_default = heltec
|
||||||
env_default = ttgov1
|
;env_default = ttgov1
|
||||||
;env_default = ttgov2
|
;env_default = ttgov2
|
||||||
;env_default = ttgov21
|
;env_default = ttgov21
|
||||||
;env_default = ttgobeam
|
env_default = ttgobeam
|
||||||
;env_default = lopy
|
;env_default = lopy
|
||||||
;env_default = lopy4
|
;env_default = lopy4
|
||||||
;env_default = fipy
|
;env_default = fipy
|
||||||
|
@ -643,6 +643,8 @@ void setup() {
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
// if device has GPS and it is enabled, start GPS reader task on core 0
|
// if device has GPS and it is enabled, start GPS reader task on core 0
|
||||||
|
// higher priority than wifi channel rotation task since we process serial
|
||||||
|
// streaming NMEA data
|
||||||
#ifdef HAS_GPS
|
#ifdef HAS_GPS
|
||||||
if (cfg.gpsmode) {
|
if (cfg.gpsmode) {
|
||||||
ESP_LOGI(TAG, "Starting GPS task on core 0");
|
ESP_LOGI(TAG, "Starting GPS task on core 0");
|
||||||
|
Loading…
Reference in New Issue
Block a user