Browse Source

Fix compile error for bed matrix in M48

Scott Lahteine 9 years ago
parent
commit
15229d988b
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Marlin/Marlin_main.cpp

+ 1
- 1
Marlin/Marlin_main.cpp View File

4254
     #if ENABLED(DELTA)
4254
     #if ENABLED(DELTA)
4255
       // we don't do bed level correction in M48 because we want the raw data when we probe
4255
       // we don't do bed level correction in M48 because we want the raw data when we probe
4256
       reset_bed_level();
4256
       reset_bed_level();
4257
-    #else
4257
+    #elif ENABLED(AUTO_BED_LEVELING_FEATURE)
4258
       // we don't do bed level correction in M48 because we want the raw data when we probe
4258
       // we don't do bed level correction in M48 because we want the raw data when we probe
4259
       planner.bed_level_matrix.set_to_identity();
4259
       planner.bed_level_matrix.set_to_identity();
4260
     #endif
4260
     #endif

Loading…
Cancel
Save