30static bool calculateSkip(uint32_t counter, uint8_t max, uint8_t adder) {
34 return ((counter % max) + adder) >= max;
75 result |=
calculateSkip(counter, accConfig.acc_max, accConfig.acc_adder);
bool shouldSkipSparkRotationalIdle()
bool shouldEngageRotationalIdle()
static float getOrZero(SensorType type)
static EngineAccessor engine
static constexpr engine_configuration_s * engineConfiguration
static bool calculateSkip(uint32_t counter, uint8_t max, uint8_t adder)
rotational_idle_s rotationalIdleController
uint32_t globalSparkCounter
bool rotationalIdleEngaged
rotational_idle_accumulator_s accumulators[3]
bool auto_engage_clt_enable
RotationalCutMode cut_mode