Adjust spacing in gcode_M149
This commit is contained in:
parent
1a2310c494
commit
07bfc45df8
1 changed files with 3 additions and 7 deletions
|
@ -5549,13 +5549,9 @@ inline void gcode_M140() {
|
|||
* M149: Set temperature units
|
||||
*/
|
||||
inline void gcode_M149() {
|
||||
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);
|
||||
}
|
||||
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);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
|
Reference in a new issue