Index: dialin/dg/calibration.py =================================================================== diff -u -r2ffe0dce8601f75d920e64fb2e0eb412726fa864 -r5dabfb699311d0b04353c3db846aba742568bcc1 --- dialin/dg/calibration.py (.../calibration.py) (revision 2ffe0dce8601f75d920e64fb2e0eb412726fa864) +++ dialin/dg/calibration.py (.../calibration.py) (revision 5dabfb699311d0b04353c3db846aba742568bcc1) @@ -147,9 +147,7 @@ @return: None """ - value_bytes = 0 raw_payload_temp_start_index = 0 - data = '' # Convert the concatenated raw data into a byte array since the struct library requires byte arrays. self.raw_cal_record = bytearray(self.raw_cal_record) @@ -161,14 +159,24 @@ # All the hardware groups (i.e pressure sensors) are nested dictionaries, except the final CRC. So it is # unpacked exceptionally here. The CRC is an unsigned 16-bit (short). if group == 'crc': - # Get the data type ( it must be 'h') + # Get the data type ( it must be '