Skip to content

Commit c7923c0

Browse files
authoredJul 1, 2022
🐛 Fix M149 (#24430)
1 parent a811005 commit c7923c0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed
 

‎Marlin/src/gcode/units/M149.cpp

+3-3
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@
3030
* M149: Set temperature units
3131
*/
3232
void GcodeSuite::M149() {
33-
if (parser.seenval('C')) parser.set_input_temp_units(TEMPUNIT_C);
34-
else if (parser.seenval('K')) parser.set_input_temp_units(TEMPUNIT_K);
35-
else if (parser.seenval('F')) parser.set_input_temp_units(TEMPUNIT_F);
33+
if (parser.seen('C')) parser.set_input_temp_units(TEMPUNIT_C);
34+
else if (parser.seen('K')) parser.set_input_temp_units(TEMPUNIT_K);
35+
else if (parser.seen('F')) parser.set_input_temp_units(TEMPUNIT_F);
3636
else M149_report();
3737
}
3838

0 commit comments

Comments
 (0)
Please sign in to comment.