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
|
|
@ -31,7 +31,7 @@
|
|||
void mesh_bed_leveling::reset() {
|
||||
status = MBL_STATUS_NONE;
|
||||
z_offset = 0;
|
||||
memset(z_values, 0, sizeof(z_values));
|
||||
ZERO(z_values);
|
||||
}
|
||||
|
||||
#endif // MESH_BED_LEVELING
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue