Index: firmware/App/Controllers/LoadCell.h =================================================================== diff -u -r72dd42b6a116e62d1b3ad5d60088c29e067d10d4 -rebbb1f85550a1f9b8f946655f7b2b63f76fbf67d --- firmware/App/Controllers/LoadCell.h (.../LoadCell.h) (revision 72dd42b6a116e62d1b3ad5d60088c29e067d10d4) +++ firmware/App/Controllers/LoadCell.h (.../LoadCell.h) (revision ebbb1f85550a1f9b8f946655f7b2b63f76fbf67d) @@ -31,6 +31,17 @@ // ********** public definitions ********** +#pragma pack(push,1) +/// Loadcell measurements struct. +typedef struct +{ + F32 loadCellA1inGram; ///< Loadcell A1 measurement in gram + F32 loadCellA2inGram; ///< Loadcell A2 measurement in gram + F32 loadCellB1inGram; ///< Loadcell B1 measurement in gram + F32 loadCellB2inGram; ///< Loadcell B2 measurement in gram +} LOAD_CELL_DATA_T; +#pragma pack(pop) + // ********** public function prototypes ********** void initLoadCell( void ); // Initialize the LoadCell module.