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 Andy-Big committed Jul 14, 2023
1 parent f6e8b06 commit 35e3fe6
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 35e3fe6

Please sign in to comment.