Browse Source

Adjust spacing in gcode_M149

pull/1/head
Scott Lahteine 8 years ago
parent
commit
07bfc45df8
  1. 10
      Marlin/Marlin_main.cpp

10
Marlin/Marlin_main.cpp

@ -5549,13 +5549,9 @@ inline void gcode_M140() {
* M149: Set temperature units * M149: Set temperature units
*/ */
inline void gcode_M149() { inline void gcode_M149() {
if (code_seen('C')) { if (code_seen('C')) set_input_temp_units(TEMPUNIT_C);
set_input_temp_units(TEMPUNIT_C); else if (code_seen('K')) set_input_temp_units(TEMPUNIT_K);
} else if (code_seen('K')) { else if (code_seen('F')) set_input_temp_units(TEMPUNIT_F);
set_input_temp_units(TEMPUNIT_K);
} else if (code_seen('F')) {
set_input_temp_units(TEMPUNIT_F);
}
} }
#endif #endif

Loading…
Cancel
Save