#pragma once #include "rusefi_types.h" struct throttle_model_s { // offset 0 bit 0 bool throttleUseWotModel : 1 {}; // offset 0 bit 1 bool unusedBit_1_1 : 1 {}; // offset 0 bit 2 bool unusedBit_1_2 : 1 {}; // offset 0 bit 3 bool unusedBit_1_3 : 1 {}; // offset 0 bit 4 bool unusedBit_1_4 : 1 {}; // offset 0 bit 5 bool unusedBit_1_5 : 1 {}; // offset 0 bit 6 bool unusedBit_1_6 : 1 {}; // offset 0 bit 7 bool unusedBit_1_7 : 1 {}; // offset 0 bit 8 bool unusedBit_1_8 : 1 {}; // offset 0 bit 9 bool unusedBit_1_9 : 1 {}; // offset 0 bit 10 bool unusedBit_1_10 : 1 {}; // offset 0 bit 11 bool unusedBit_1_11 : 1 {}; // offset 0 bit 12 bool unusedBit_1_12 : 1 {}; // offset 0 bit 13 bool unusedBit_1_13 : 1 {}; // offset 0 bit 14 bool unusedBit_1_14 : 1 {}; // offset 0 bit 15 bool unusedBit_1_15 : 1 {}; // offset 0 bit 16 bool unusedBit_1_16 : 1 {}; // offset 0 bit 17 bool unusedBit_1_17 : 1 {}; // offset 0 bit 18 bool unusedBit_1_18 : 1 {}; // offset 0 bit 19 bool unusedBit_1_19 : 1 {}; // offset 0 bit 20 bool unusedBit_1_20 : 1 {}; // offset 0 bit 21 bool unusedBit_1_21 : 1 {}; // offset 0 bit 22 bool unusedBit_1_22 : 1 {}; // offset 0 bit 23 bool unusedBit_1_23 : 1 {}; // offset 0 bit 24 bool unusedBit_1_24 : 1 {}; // offset 0 bit 25 bool unusedBit_1_25 : 1 {}; // offset 0 bit 26 bool unusedBit_1_26 : 1 {}; // offset 0 bit 27 bool unusedBit_1_27 : 1 {}; // offset 0 bit 28 bool unusedBit_1_28 : 1 {}; // offset 0 bit 29 bool unusedBit_1_29 : 1 {}; // offset 0 bit 30 bool unusedBit_1_30 : 1 {}; // offset 0 bit 31 bool unusedBit_1_31 : 1 {}; // % // offset 4 scaled_channel throttleModelCrossoverAngle = (int16_t)0; // need 4 byte alignment // units // offset 6 uint8_t alignmentFill_at_6[2]; // g/s // offset 8 float throttleEstimatedFlow = (float)0; }; static_assert(sizeof(throttle_model_s) == 12);