Browse Source

Only send capabilities when M115 is run without arguments

Alex Voinea 4 years ago
parent
commit
6873a9d28e
1 changed files with 2 additions and 4 deletions
  1. 2 4
      Firmware/Marlin_main.cpp

+ 2 - 4
Firmware/Marlin_main.cpp

@@ -6863,12 +6863,10 @@ Sigma_Exit:
           SERIAL_ECHOPGM(STRINGIFY(EXTRUDERS)); 
           SERIAL_ECHOPGM(" UUID:"); 
           SERIAL_ECHOLNPGM(MACHINE_UUID);
-      }
-      
 #ifdef EXTENDED_CAPABILITIES_REPORT
-      extended_capabilities_report();
+          extended_capabilities_report();
 #endif //EXTENDED_CAPABILITIES_REPORT
-      
+      }
       break;
 
     /*!