Beautify code

Fix indentation
This commit is contained in:
David Ramiro 2019-01-24 16:45:35 +01:00
parent 8aa4ed6945
commit ad683fdedc
No known key found for this signature in database
GPG Key ID: 5B042737EBEEB736
1 changed files with 924 additions and 924 deletions

View File

@ -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);