🐛 Fix AIR_ASSIST (#24162)
This commit is contained in:
parent
1c516bdd5e
commit
5c25ed60c8
@ -159,8 +159,8 @@ void SpindleLaser::apply_power(const uint8_t opwr) {
|
|||||||
|
|
||||||
#if ENABLED(AIR_ASSIST)
|
#if ENABLED(AIR_ASSIST)
|
||||||
// Enable / disable air assist
|
// Enable / disable air assist
|
||||||
void SpindleLaser::air_assist_enable() { WRITE(AIR_ASSIST_PIN, AIR_ASSIST_PIN); } // Turn ON
|
void SpindleLaser::air_assist_enable() { WRITE(AIR_ASSIST_PIN, AIR_ASSIST_ACTIVE); } // Turn ON
|
||||||
void SpindleLaser::air_assist_disable() { WRITE(AIR_ASSIST_PIN, !AIR_ASSIST_PIN); } // Turn OFF
|
void SpindleLaser::air_assist_disable() { WRITE(AIR_ASSIST_PIN, !AIR_ASSIST_ACTIVE); } // Turn OFF
|
||||||
void SpindleLaser::air_assist_toggle() { TOGGLE(AIR_ASSIST_PIN); } // Toggle state
|
void SpindleLaser::air_assist_toggle() { TOGGLE(AIR_ASSIST_PIN); } // Toggle state
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user