|
@@ -57,12 +57,11 @@ public:
|
57
|
57
|
|
58
|
58
|
//static bool active() { return READ(SPINDLE_LASER_ENA_PIN) == SPINDLE_LASER_ACTIVE_HIGH; }
|
59
|
59
|
|
|
60
|
+ static void update_output();
|
|
61
|
+
|
60
|
62
|
#if ENABLED(SPINDLE_LASER_PWM)
|
61
|
|
- static void update_output();
|
62
|
63
|
static void set_ocr(const uint8_t ocr);
|
63
|
64
|
static inline void set_ocr_power(const uint8_t pwr) { power = pwr; set_ocr(pwr); }
|
64
|
|
- #else
|
65
|
|
- static inline void update_output() { }
|
66
|
65
|
#endif
|
67
|
66
|
|
68
|
67
|
// Wait for spindle to spin up or spin down
|