Add a ZERO macro to clear arrays
This commit is contained in:
parent
627f9d5285
commit
5f5a55a0de
6 changed files with 8 additions and 7 deletions
|
|
@ -3145,7 +3145,7 @@ inline void gcode_G4() {
|
|||
if (DEBUGGING(LEVELING)) DEBUG_POS(">>> home_delta", current_position);
|
||||
#endif
|
||||
// Init the current position of all carriages to 0,0,0
|
||||
memset(current_position, 0, sizeof(current_position));
|
||||
ZERO(current_position);
|
||||
sync_plan_position();
|
||||
|
||||
// Move all carriages together linearly until an endstop is hit.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue