SDMP_IOT / Mbed OS AdiSense1000_SmartBabySeat

Fork of Babyseat_NewFirmware_copy_sean by Ross O'Halloran

Branch:
v2.0
Revision:
33:264c91119966
Parent:
30:119ff4f3aef6
diff -r de49744b57a6 -r 264c91119966 inc/adi_sense_1000/adi_sense_1000_lut_data.h
--- a/inc/adi_sense_1000/adi_sense_1000_lut_data.h	Fri Jun 22 09:29:24 2018 +0100
+++ b/inc/adi_sense_1000/adi_sense_1000_lut_data.h	Thu Jul 26 16:15:51 2018 +0000
@@ -270,21 +270,14 @@
 /*! Look-Up Table descriptor */
 typedef union __attribute__((packed, aligned(4))) {
     struct {
-        ADI_SENSE_1000_LUT_GEOMETRY geometry  : 6;
-        /**< Table geometry */
-        ADI_SENSE_1000_LUT_EQUATION equation  : 6;
-        /**< Equation type */
-        ADI_SENSE_1000_LUT_TC_DIRECTION dir   : 4;
-        /**< Thermocouple linearisation direction */
-        ADI_SENSE_1000_ADC_SENSOR_TYPE sensor : 12;
-        /**< Sensor Type ID */
-        ADI_SENSE_1000_LUT_DATA_TYPE dataType : 4;
-        /**< Table vector data type */
-        uint16_t length;
-        /**< Length in bytes of table data section
-         *   (excluding this header) */
-        uint16_t crc16;
-        /**< CRC-16-CCITT of the data */
+        uint16_t geometry  : 6; /**< ADI_SENSE_1000_LUT_GEOMETRY */
+        uint16_t equation  : 6; /**< ADI_SENSE_1000_LUT_EQUATION */
+        uint16_t dir   : 4;     /**< ADI_SENSE_1000_LUT_TC_DIRECTION */
+        uint16_t sensor : 12;   /**< ADI_SENSE_1000_ADC_SENSOR_TYPE */
+        uint16_t dataType : 4;  /**< ADI_SENSE_1000_LUT_DATA_TYPE */
+        uint16_t length;        /**< Length (bytes) of table data section
+                                     (excl. this header) */
+        uint16_t crc16;         /**< CRC-16-CCITT of the data */
     };
     uint64_t value64;
 } ADI_SENSE_1000_LUT_DESCRIPTOR;