After adding the code will automatically enable the time-lapse. Adding ";" semicolon comment before the code, disable the time-lapse function to save space inside the printer
QIDI Slicer
Orca Slicer