|
@@ -159,8 +159,8 @@ void SpindleLaser::apply_power(const uint8_t opwr) {
|
159
|
159
|
|
160
|
160
|
#if ENABLED(AIR_ASSIST)
|
161
|
161
|
// Enable / disable air assist
|
162
|
|
- void SpindleLaser::air_assist_enable() { WRITE(AIR_ASSIST_PIN, AIR_ASSIST_PIN); } // Turn ON
|
163
|
|
- void SpindleLaser::air_assist_disable() { WRITE(AIR_ASSIST_PIN, !AIR_ASSIST_PIN); } // Turn OFF
|
|
162
|
+ void SpindleLaser::air_assist_enable() { WRITE(AIR_ASSIST_PIN, AIR_ASSIST_ACTIVE); } // Turn ON
|
|
163
|
+ void SpindleLaser::air_assist_disable() { WRITE(AIR_ASSIST_PIN, !AIR_ASSIST_ACTIVE); } // Turn OFF
|
164
|
164
|
void SpindleLaser::air_assist_toggle() { TOGGLE(AIR_ASSIST_PIN); } // Toggle state
|
165
|
165
|
#endif
|
166
|
166
|
|