parent
fe02241044
commit
021c4ccf5f
1 changed files with 2 additions and 3 deletions
|
@ -57,12 +57,11 @@ public:
|
||||||
|
|
||||||
//static bool active() { return READ(SPINDLE_LASER_ENA_PIN) == SPINDLE_LASER_ACTIVE_HIGH; }
|
//static bool active() { return READ(SPINDLE_LASER_ENA_PIN) == SPINDLE_LASER_ACTIVE_HIGH; }
|
||||||
|
|
||||||
|
static void update_output();
|
||||||
|
|
||||||
#if ENABLED(SPINDLE_LASER_PWM)
|
#if ENABLED(SPINDLE_LASER_PWM)
|
||||||
static void update_output();
|
|
||||||
static void set_ocr(const uint8_t ocr);
|
static void set_ocr(const uint8_t ocr);
|
||||||
static inline void set_ocr_power(const uint8_t pwr) { power = pwr; set_ocr(pwr); }
|
static inline void set_ocr_power(const uint8_t pwr) { power = pwr; set_ocr(pwr); }
|
||||||
#else
|
|
||||||
static inline void update_output() { }
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// Wait for spindle to spin up or spin down
|
// Wait for spindle to spin up or spin down
|
||||||
|
|
Reference in a new issue