File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -1617,7 +1617,7 @@ public void ReadData()
16171617 bufferbyte [ p ] = ( byte ) ReadByte ( ) ;
16181618
16191619 }
1620- RetrieveKinematicCalibrationParametersFromPacket ( bufferbyte , ( byte ) PacketTypeShimmer3 . ALT_MAG_CALIBRATION_RESPONSE ) ;
1620+ RetrieveKinematicCalibrationParametersFromPacket ( bufferbyte , ( byte ) PacketTypeShimmer3 . ALT_ACCEL_CALIBRATION_RESPONSE ) ;
16211621
16221622 //Retrieve High G Accel Cal Paramters if Shimmer 3
16231623 bufferbyte = new byte [ 21 ] ;
@@ -1626,7 +1626,8 @@ public void ReadData()
16261626 bufferbyte [ p ] = ( byte ) ReadByte ( ) ;
16271627
16281628 }
1629- RetrieveKinematicCalibrationParametersFromPacket ( bufferbyte , ( byte ) PacketTypeShimmer3 . ALT_ACCEL_CALIBRATION_RESPONSE ) ;
1629+ RetrieveKinematicCalibrationParametersFromPacket ( bufferbyte , ( byte ) PacketTypeShimmer3 . ALT_MAG_CALIBRATION_RESPONSE ) ;
1630+
16301631 }
16311632
16321633 break ;
@@ -2551,6 +2552,7 @@ protected void RetrieveKinematicCalibrationParametersFromPacket(byte[] bufferCal
25512552 OffsetVectorAltAccel = offsetVector ;
25522553 SensitivityMatrixAltAccel = sensitivityMatrix ;
25532554 DefaultHighGAccelParams = false ;
2555+
25542556 }
25552557 else if ( packetType == ( byte ) PacketTypeShimmer3 . ALT_ACCEL_CALIBRATION_RESPONSE && ( sensitivityMatrix [ 0 , 0 ] == - 1 || UtilCalibration . AllElementsAre ( sensitivityMatrix , 0 ) )
25562558 && HardwareVersion == ( int ) ShimmerBluetooth . ShimmerVersion . SHIMMER3R )
You can’t perform that action at this time.
0 commit comments