diff --git a/app/src/main/cpp/PhoneDevice.cpp b/app/src/main/cpp/PhoneDevice.cpp index d5baaa9c..3a92ef3c 100644 --- a/app/src/main/cpp/PhoneDevice.cpp +++ b/app/src/main/cpp/PhoneDevice.cpp @@ -3534,7 +3534,7 @@ int CPhoneDevice::GetIceData(IDevice::ICE_INFO *iceInfo, IDevice::ICE_TAIL *iceT int angleno = 0; for(int num = 0; num < MAX_SERIAL_DEV_NUM; num++) { - if(sensorParam[num].SensorsType == RALLY_PROTOCOL) + if(sensorParam[num].SensorsType == RALLY_PROTOCOL && sensorParam[num].IsNoInsta == 1) { GetPullValue(num, &airt); iceInfo->t_sensor_data[pullno].original_tension = airt.EuValue; @@ -3545,7 +3545,7 @@ int CPhoneDevice::GetIceData(IDevice::ICE_INFO *iceInfo, IDevice::ICE_TAIL *iceT status = 0; } pullno++; - } else if(sensorParam[num].SensorsType == SLANT_PROTOCOL) + } else if(sensorParam[num].SensorsType == SLANT_PROTOCOL && sensorParam[num].IsNoInsta == 1) { GetAngleValue(num, &airt, 0); iceInfo->t_sensor_data[angleno].deflection_angle = airt.EuValue;