Index: firmware/App/Drivers/BloodLeakDriver.h =================================================================== diff -u -r3a539af8f3320cc7e5d81aa1d39795e581e4a86d -rdc4b4fddff7b3ceb6de191eed9c181d2508544ee --- firmware/App/Drivers/BloodLeakDriver.h (.../BloodLeakDriver.h) (revision 3a539af8f3320cc7e5d81aa1d39795e581e4a86d) +++ firmware/App/Drivers/BloodLeakDriver.h (.../BloodLeakDriver.h) (revision dc4b4fddff7b3ceb6de191eed9c181d2508544ee) @@ -7,8 +7,8 @@ * * @file BloodLeakDriver.h * -* @author (last) Jashwant Gantyada -* @date (last) 12-Feb-2026 +* @author (last) Dara Navaei +* @date (last) 17-Feb-2026 * * @author (original) Jashwant Gantyada * @date (original) 24-Nov-2025 @@ -33,6 +33,8 @@ // ********** public definitions ********** +#define BLOOD_LEAK_RESP_LEN_BYTES 5 ///< Blood leak response buffer length in bytes. + #pragma pack(push,1) /// Blood leak detector data publish typedef struct @@ -68,7 +70,7 @@ { U08 command; U32 responseLen; - U08 responseBuffer[ 5 ]; + U08 responseBuffer[ BLOOD_LEAK_RESP_LEN_BYTES ]; } BLOOD_LEAK_EMB_MODE_RESP_T; #pragma pack(pop)