1
0
mirror of https://github.com/MarlinFirmware/Marlin.git synced 2024-11-23 12:04:19 +00:00

Fix ANYCUBIC_LCD_I3MEGA compile (#21585)

This commit is contained in:
Veisen 2021-04-13 10:09:21 +02:00 committed by GitHub
parent e0ed57db67
commit 776c1e66db
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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