🩹 Fix memset block warning

This commit is contained in:
Scott Lahteine
2022-06-29 17:14:23 -05:00
parent cc51bc29e1
commit d9ec3795fb
2 changed files with 3 additions and 1 deletions

View File

@@ -2896,7 +2896,7 @@ void Planner::buffer_sync_block(TERN_(LASER_SYNCHRONOUS_M106_M107, const BlockFl
block_t * const block = get_next_free_block(next_buffer_head);
// Clear block
memset(block, 0, sizeof(block_t));
block->reset();
block->flag.apply(sync_flag);