Browse Source

Patch issue in gcode_M900

Noted in #6550
Scott Lahteine 8 years ago
parent
commit
67ecf06cc4
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Marlin/Marlin_main.cpp

+ 1
- 1
Marlin/Marlin_main.cpp View File

8970
     SERIAL_ECHOPAIR("Advance K=", planner.extruder_advance_k);
8970
     SERIAL_ECHOPAIR("Advance K=", planner.extruder_advance_k);
8971
     SERIAL_ECHOPGM(" E/D=");
8971
     SERIAL_ECHOPGM(" E/D=");
8972
     const float ratio = planner.advance_ed_ratio;
8972
     const float ratio = planner.advance_ed_ratio;
8973
-    ratio ? SERIAL_ECHO(ratio) : SERIAL_ECHOPGM("Auto");
8973
+    if (ratio) SERIAL_ECHO(ratio); else SERIAL_ECHOPGM("Auto");
8974
     SERIAL_EOL;
8974
     SERIAL_EOL;
8975
   }
8975
   }
8976
 #endif // LIN_ADVANCE
8976
 #endif // LIN_ADVANCE

Loading…
Cancel
Save