Fix ANYCUBIC_LCD_I3MEGA compile (#21585)
This commit is contained in:
parent
52f928700a
commit
21518fbd4e
|
@ -583,8 +583,7 @@ void AnycubicTFTClass::GetCommandFromTFT() {
|
|||
} break;
|
||||
|
||||
case 4: { // A4 GET FAN SPEED
|
||||
const float fanPercent = getActualFan_percent(FAN0);
|
||||
SEND_PGM_VAL("A4V ", int(LIMIT(fanPercent, 0, 100)));
|
||||
SEND_PGM_VAL("A4V ", int(getActualFan_percent(FAN0)));
|
||||
} break;
|
||||
|
||||
case 5: { // A5 GET CURRENT COORDINATE
|
||||
|
|
Loading…
Reference in a new issue