Index: firmware/App/Controllers/AirPump.h =================================================================== diff -u -r552a7de419344b43a3307c61141c99bfbbee7345 -r395522dffef1348e176564925656012f529c1910 --- firmware/App/Controllers/AirPump.h (.../AirPump.h) (revision 552a7de419344b43a3307c61141c99bfbbee7345) +++ firmware/App/Controllers/AirPump.h (.../AirPump.h) (revision 395522dffef1348e176564925656012f529c1910) @@ -1,17 +1,17 @@ /************************************************************************** * -* Copyright (c) 2024-2024 Diality Inc. - All Rights Reserved. +* Copyright (c) 2024-2026 Diality Inc. - All Rights Reserved. * * THIS CODE MAY NOT BE COPIED OR REPRODUCED IN ANY FORM, IN PART OR IN * WHOLE, WITHOUT THE EXPLICIT PERMISSION OF THE COPYRIGHT OWNER. * * @file AirPump.h * -* @author (last) Sean -* @date (last) 17-Sep-2024 +* @author (last) Sean Nash +* @date (last) 23-Jun-2025 * -* @author (original) Sean -* @date (original) 17-Sep-2024 +* @author (original) Sean Nash +* @date (original) 19-Sep-2024 * ***************************************************************************/ @@ -33,12 +33,14 @@ // ********** public definitions ********** +#pragma pack(push, 1) /// Payload record structure for air pump data broadcast message typedef struct { U32 h12State; ///< Air pump state status U32 h12Power; ///< Air pump power level setting } AIR_PUMP_PAYLOAD_T; +#pragma pack(pop) /// Enumeration of air pump states. typedef enum AirPumpControllerStates @@ -57,6 +59,7 @@ AIR_PUMP_STATE_T getAirPumpState( void ); BOOL testAirPumpDataPublishIntervalOverride( MESSAGE_T *message ); +BOOL testSetAirPump( MESSAGE_T *message ); /**@}*/