Browse Source

Add LEVELING_DATA as a capability

Scott Lahteine 7 years ago
parent
commit
8866158d03
1 changed files with 7 additions and 0 deletions
  1. 7
    0
      Marlin/Marlin_main.cpp

+ 7
- 0
Marlin/Marlin_main.cpp View File

@@ -6440,6 +6440,13 @@ inline void gcode_M115() {
6440 6440
       SERIAL_PROTOCOLLNPGM("Cap:Z_PROBE:0");
6441 6441
     #endif
6442 6442
 
6443
+    // MESH_REPORT (M420 V)
6444
+    #if PLANNER_LEVELING
6445
+      SERIAL_PROTOCOLLNPGM("Cap:LEVELING_DATA:1");
6446
+    #else
6447
+      SERIAL_PROTOCOLLNPGM("Cap:LEVELING_DATA:0");
6448
+    #endif
6449
+
6443 6450
     // SOFTWARE_POWER (G30)
6444 6451
     #if HAS_POWER_SWITCH
6445 6452
       SERIAL_PROTOCOLLNPGM("Cap:SOFTWARE_POWER:1");

Loading…
Cancel
Save