I've just built a Tevo printer. It has an auto-levelling probe and I set up the firmware with "FIX_MOUNTED_PROBE" as the probe type. When I clicked on "Z home" on Repetier Host. it went up in Z and would probably have gone through the topof the printer if something had not been in the way. So then I looked at my configuration and changed "#define Z_HOME_DIR -1" to plus 1.
But when I upload, I get this error:
#error "Enable USE_ZMAX_PLUG when homing Z to MAX."