Beautify code
Fix indentation
This commit is contained in:
@@ -783,8 +783,7 @@ void AnycubicTFTClass::GetCommandFromTFT()
|
||||
{
|
||||
unsigned int tempbed;
|
||||
if(CodeSeen('S')) {tempbed=constrain(CodeValue(),0,150);
|
||||
thermalManager.setTargetBed(tempbed);
|
||||
}
|
||||
thermalManager.setTargetBed(tempbed);}
|
||||
}
|
||||
// ANYCUBIC_SERIAL_ENTER();
|
||||
break;
|
||||
@@ -817,7 +816,8 @@ void AnycubicTFTClass::GetCommandFromTFT()
|
||||
case 20:// A20 read printing speed
|
||||
{
|
||||
if(CodeSeen('S')) {
|
||||
feedrate_percentage=constrain(CodeValue(),40,999);}
|
||||
feedrate_percentage=constrain(CodeValue(),40,999);
|
||||
}
|
||||
else{
|
||||
ANYCUBIC_SERIAL_PROTOCOLPGM("A20V ");
|
||||
ANYCUBIC_SERIAL_PROTOCOL(feedrate_percentage);
|
||||
|
Reference in New Issue
Block a user