Skip to content

Commit 15671a4

Browse files
filimonicthinkyhead
authored andcommitted
🩹 Fix Spindle/Laser ENA pin test (MarlinFirmware#25622)
1 parent f62d47a commit 15671a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Marlin/src/feature/spindle_laser.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ class SpindleLaser {
210210
enable = false;
211211
apply_power(0);
212212
}
213-
#if SPINDLE_LASER_ENA_PIN
213+
#if PIN_EXISTS(SPINDLE_LASER_ENA)
214214
WRITE(SPINDLE_LASER_ENA_PIN, enable ? SPINDLE_LASER_ACTIVE_STATE : !SPINDLE_LASER_ACTIVE_STATE);
215215
#endif
216216
enable_state = enable;

0 commit comments

Comments
 (0)