Scott Lahteine 8 лет назад
Родитель
Сommit
07bfc45df8
1 измененных файлов: 3 добавлений и 7 удалений
  1. 3
    7
      Marlin/Marlin_main.cpp

+ 3
- 7
Marlin/Marlin_main.cpp Просмотреть файл

@@ -5549,13 +5549,9 @@ inline void gcode_M140() {
5549 5549
    * M149: Set temperature units
5550 5550
    */
5551 5551
   inline void gcode_M149() {
5552
-    if (code_seen('C')) {
5553
-      set_input_temp_units(TEMPUNIT_C);
5554
-    } else if (code_seen('K')) {
5555
-      set_input_temp_units(TEMPUNIT_K);
5556
-    } else if (code_seen('F')) {
5557
-      set_input_temp_units(TEMPUNIT_F);
5558
-    }
5552
+         if (code_seen('C')) set_input_temp_units(TEMPUNIT_C);
5553
+    else if (code_seen('K')) set_input_temp_units(TEMPUNIT_K);
5554
+    else if (code_seen('F')) set_input_temp_units(TEMPUNIT_F);
5559 5555
   }
5560 5556
 #endif
5561 5557
 

Загрузка…
Отмена
Сохранить