Fix a pair of compiler complaints

This commit is contained in:
Scott Lahteine
2017-04-22 00:07:37 -05:00
parent ff0018e287
commit 10da175be5
2 changed files with 2 additions and 3 deletions

View File

@ -4175,7 +4175,7 @@ inline void gcode_G28() {
ABL_VAR int abl_probe_index;
#endif
#if HAS_SOFTWARE_ENDSTOPS
#if HAS_SOFTWARE_ENDSTOPS && ENABLED(PROBE_MANUALLY)
ABL_VAR bool enable_soft_endstops = true;
#endif
@ -4599,7 +4599,6 @@ inline void gcode_G28() {
#endif // AUTO_BED_LEVELING_3POINT
#else // !PROBE_MANUALLY
bool stow_probe_after_each = code_seen('E');