MCPcopy Create free account
hub / github.com/Duet3D/RepRapFirmware / SetMotorPositions

Method SetMotorPositions

src/Movement/Move.cpp:1179–1182  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1177}
1178
1179void Move::SetMotorPositions(LogicalDrivesBitmap drives, const int32_t *positions, bool clearBacklash) noexcept
1180{
1181 drives.Iterate([this, positions, clearBacklash](unsigned int drive, unsigned int count) noexcept { SetMotorPosition(drive, positions[drive], clearBacklash); });
1182}
1183
1184void Move::SetLastEndpoints(MovementSystemNumber msNumber, LogicalDrivesBitmap logicalDrives, const int32_t *_ecv_array ep) noexcept
1185{

Callers 3

AdjustMotorPositionsMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected