Index: firmware/App/Drivers/BloodLeakDriver.h =================================================================== diff -u -r1a1023b5f23921282632c7972c922f351b878abc -rd8307ba7e2d6b44f59be8504e016824e011a4969 --- firmware/App/Drivers/BloodLeakDriver.h (.../BloodLeakDriver.h) (revision 1a1023b5f23921282632c7972c922f351b878abc) +++ firmware/App/Drivers/BloodLeakDriver.h (.../BloodLeakDriver.h) (revision d8307ba7e2d6b44f59be8504e016824e011a4969) @@ -50,7 +50,28 @@ } BLOOD_LEAK_DATA_T; // ********** shared definitions (used by monitor + driver) ********** +/// Embedded mode command specifications. +typedef struct +{ + U08 commandASCII; + U08 expChar1; + U08 expChar2; + U32 length; + U32 timeoutMS; + U32 commandResp; + U08 commandRqstCount; + BOOL isCmdRespRdy; +} EMB_MODE_CMD_T; +/// Embedded mode response message. +typedef struct +{ + U08 command; + U32 responseLen; + U08 responseBuffer[ 5 ]; +} BLOOD_LEAK_EMB_MODE_RESP_T; +#pragma pack(pop) + /// Enumeration of blood leak embedded mode command column index. typedef enum BloodLeakEmbModeCmdColIndex { @@ -106,28 +127,6 @@ NUM_OF_EMB_CMDS, } BLOOD_LEAK_EMB_MODE_CMD_T; -/// Embedded mode command specifications. -typedef struct -{ - U08 commandASCII; - U08 expChar1; - U08 expChar2; - U32 length; - U32 timeoutMS; - U32 commandResp; - U08 commandRqstCount; - BOOL isCmdRespRdy; -} EMB_MODE_CMD_T; - -/// Embedded mode response message. -typedef struct -{ - U08 command; - U32 responseLen; - U08 responseBuffer[ 5 ]; -} BLOOD_LEAK_EMB_MODE_RESP_T; -#pragma pack(pop) - // ********** public function prototypes ********** void initBloodLeakDriver( void );