My changes for MendelMax 1.5 with RAMPS 1.4