Searched refs:braking (Results 1 – 1 of 1) sorted by relevance
1312 case PrimitivePwle::braking: { in composePwle()1313 auto braking = e.get<PrimitivePwle::braking>(); in composePwle() local1314 if (braking.braking > Braking::CLAB) { in composePwle()1316 } else if (!isClabSupported && (braking.braking == Braking::CLAB)) { in composePwle()1320 if (braking.duration > COMPOSE_PWLE_PRIMITIVE_DURATION_MAX_MS) { in composePwle()1324 if (ch.constructBrakingSegment(0, braking.braking) < 0) { in composePwle()1329 if (ch.constructBrakingSegment(braking.duration, braking.braking) < 0) { in composePwle()1335 totalDuration += braking.duration; in composePwle()