And another compile fix...

This commit is contained in:
leptun 2019-10-18 12:42:55 +03:00
parent 9fc42526e7
commit 0ed4a23ae7
3 changed files with 24 additions and 14 deletions

View file

@ -2769,7 +2769,9 @@ bool gcode_M45(bool onlyZ, int8_t verbosity_level)
#ifdef TMC2130
FORCE_HIGH_POWER_START;
#endif // TMC2130
FORCE_BL_ON_START;
#ifdef LCD_BL_PIN
FORCE_BL_ON_START;
#endif // LCD_BL_PIN
// Only Z calibration?
if (!onlyZ)
{
@ -2958,7 +2960,9 @@ bool gcode_M45(bool onlyZ, int8_t verbosity_level)
#ifdef TMC2130
FORCE_HIGH_POWER_END;
#endif // TMC2130
FORCE_BL_ON_END;
#ifdef LCD_BL_PIN
FORCE_BL_ON_END;
#endif // LCD_BL_PIN
return final_result;
}