parent
8aa4ed6945
commit
ad683fdedc
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue