Mercurial > public > ostc4
comparison Discovery/Src/data_exchange_main.c @ 920:c4c9850a2039 Evo_2_23
Added view for position data:
A custom view for visualization of GPS data has been added. It may be activated using the compile switch ENABLE_GNSS_SUPPORT
author | Ideenmodellierer |
---|---|
date | Sun, 03 Nov 2024 15:44:54 +0100 |
parents | a2523e19f59a |
children | 4d98fb2a178e |
comparison
equal
deleted
inserted
replaced
919:c0553dd70608 | 920:c4c9850a2039 |
---|---|
409 break; | 409 break; |
410 case SENSOR_DIGO2M: SensorActive[SENSOR_DIGO2] = 1; | 410 case SENSOR_DIGO2M: SensorActive[SENSOR_DIGO2] = 1; |
411 break; | 411 break; |
412 case SENSOR_CO2: SensorActive[SENSOR_CO2] = 1; | 412 case SENSOR_CO2: SensorActive[SENSOR_CO2] = 1; |
413 break; | 413 break; |
414 #ifdef ENABLE_GNSS_SUPPORT | |
415 case SENSOR_GNSS: SensorActive[SENSOR_GNSS] = 1; | |
416 break; | |
417 #endif | |
414 #ifdef ENABLE_SENTINEL_MODE | 418 #ifdef ENABLE_SENTINEL_MODE |
415 case SENSOR_SENTINEL: SensorActive[SENSOR_SENTINEL] = 1; | 419 case SENSOR_SENTINEL: SensorActive[SENSOR_SENTINEL] = 1; |
416 break; | 420 break; |
417 #endif | 421 #endif |
418 default: | 422 default: |
422 | 426 |
423 if(SensorActive[SENSOR_ANALOG]) | 427 if(SensorActive[SENSOR_ANALOG]) |
424 { | 428 { |
425 externalInterface_Cmd |= EXT_INTERFACE_ADC_ON | EXT_INTERFACE_33V_ON; | 429 externalInterface_Cmd |= EXT_INTERFACE_ADC_ON | EXT_INTERFACE_33V_ON; |
426 } | 430 } |
427 if((SensorActive[SENSOR_DIGO2]) || (SensorActive[SENSOR_CO2])) | 431 if((SensorActive[SENSOR_DIGO2]) || (SensorActive[SENSOR_CO2])|| (SensorActive[SENSOR_GNSS])) |
428 { | 432 { |
429 externalInterface_Cmd |= EXT_INTERFACE_33V_ON; | 433 externalInterface_Cmd |= EXT_INTERFACE_33V_ON; |
430 } | 434 } |
431 | 435 |
432 #ifdef ENABLE_SENTINEL_MODE | 436 #ifdef ENABLE_SENTINEL_MODE |