Index: firmware/App/Controllers/LoadCell.h =================================================================== diff -u -r484b185f0cf4b2ea0ba9de331573952b1b5124b4 -r5c967dc311b485769e50e5e4f122be21079b5ae9 --- firmware/App/Controllers/LoadCell.h (.../LoadCell.h) (revision 484b185f0cf4b2ea0ba9de331573952b1b5124b4) +++ firmware/App/Controllers/LoadCell.h (.../LoadCell.h) (revision 5c967dc311b485769e50e5e4f122be21079b5ae9) @@ -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.