It needs to go into macro.cfg. You can do it many ways. Simplest is directly edit using Mainsail’s built in editor. I’d recommend the following.
- Locate the macro.chg you downloaded to send here. Make a copy.
- Open macro.cfg in notepad (or other text editor)
- Find/delete the [gcode_macro _CALIBRATION_ZOFFSET] block (lines 116-125)
- Copy/paste the new macro. leave 1 blank line above and below new macro. Save.
- Connect to mainsail and navigate to macro.cfg. Rename it macro.cfg.old.
- Upload the edited file from your computer
- save and restart.
This gives you an easy revert path. If the new macro isn’t usefull THEN use mainsail to delete macro.cfg then rename macro.cfg.old to macro.cfg and everything is back to stock configuration.
