Skip to content

Commit 0d2d545

Browse files
committed
Adjust spacing in gcode_M149
1 parent f79366b commit 0d2d545

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

Marlin/Marlin_main.cpp

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5550,13 +5550,9 @@ inline void gcode_M140() {
55505550
* M149: Set temperature units
55515551
*/
55525552
inline void gcode_M149() {
5553-
if (code_seen('C')) {
5554-
set_input_temp_units(TEMPUNIT_C);
5555-
} else if (code_seen('K')) {
5556-
set_input_temp_units(TEMPUNIT_K);
5557-
} else if (code_seen('F')) {
5558-
set_input_temp_units(TEMPUNIT_F);
5559-
}
5553+
if (code_seen('C')) set_input_temp_units(TEMPUNIT_C);
5554+
else if (code_seen('K')) set_input_temp_units(TEMPUNIT_K);
5555+
else if (code_seen('F')) set_input_temp_units(TEMPUNIT_F);
55605556
}
55615557
#endif
55625558

0 commit comments

Comments
 (0)