Skip to content

Commit

Permalink
🩹 Fix Spindle/Laser ENA pin test (#25622)
Browse files Browse the repository at this point in the history
  • Loading branch information
filimonic authored Apr 16, 2023
1 parent 802fe51 commit 09ddf9c
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 09ddf9c

Please sign in to comment.