Skip to content

Commit

Permalink
🩹 Fix Spindle/Laser ENA pin test (MarlinFirmware#25622)
Browse files Browse the repository at this point in the history
  • Loading branch information
filimonic authored and EvilGremlin committed May 17, 2023
1 parent 0a9ac9b commit 08c3448
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Marlin/src/feature/spindle_laser.h
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ class SpindleLaser {
enable = false;
apply_power(0);
}
#if SPINDLE_LASER_ENA_PIN
#if PIN_EXISTS(SPINDLE_LASER_ENA)
WRITE(SPINDLE_LASER_ENA_PIN, enable ? SPINDLE_LASER_ACTIVE_STATE : !SPINDLE_LASER_ACTIVE_STATE);
#endif
enable_state = enable;
Expand Down

0 comments on commit 08c3448

Please sign in to comment.