We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f79366b commit 0d2d545Copy full SHA for 0d2d545
Marlin/Marlin_main.cpp
@@ -5550,13 +5550,9 @@ inline void gcode_M140() {
5550
* M149: Set temperature units
5551
*/
5552
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
- }
+ if (code_seen('C')) set_input_temp_units(TEMPUNIT_C);
+ else if (code_seen('K')) set_input_temp_units(TEMPUNIT_K);
+ else if (code_seen('F')) set_input_temp_units(TEMPUNIT_F);
5560
}
5561
#endif
5562
0 commit comments