Sfoglia il codice sorgente

Fix spacing in JSON output

Scott Lahteine 8 anni fa
parent
commit
2d71569138
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 2
    2
      Marlin/Marlin_main.cpp

+ 2
- 2
Marlin/Marlin_main.cpp Vedi File

2467
     #endif
2467
     #endif
2468
     for (uint8_t y = 0; y < sy; y++) {
2468
     for (uint8_t y = 0; y < sy; y++) {
2469
       #ifdef SCAD_MESH_OUTPUT
2469
       #ifdef SCAD_MESH_OUTPUT
2470
-        SERIAL_PROTOCOLLNPGM(" [");           // open sub-array
2470
+        SERIAL_PROTOCOLPGM(" [");           // open sub-array
2471
       #else
2471
       #else
2472
         if (y < 10) SERIAL_PROTOCOLCHAR(' ');
2472
         if (y < 10) SERIAL_PROTOCOLCHAR(' ');
2473
         SERIAL_PROTOCOL((int)y);
2473
         SERIAL_PROTOCOL((int)y);
2501
       SERIAL_EOL;
2501
       SERIAL_EOL;
2502
     }
2502
     }
2503
     #ifdef SCAD_MESH_OUTPUT
2503
     #ifdef SCAD_MESH_OUTPUT
2504
-      SERIAL_PROTOCOLPGM("\n];");                     // close 2D array
2504
+      SERIAL_PROTOCOLPGM("];");                       // close 2D array
2505
     #endif
2505
     #endif
2506
     SERIAL_EOL;
2506
     SERIAL_EOL;
2507
   }
2507
   }

Loading…
Annulla
Salva