PINS are not more than 255

parent 455402b9
Pipeline #127 skipped
......@@ -10115,7 +10115,7 @@ void kill(const char* lcd_msg) {
#if ENABLED(FAST_PWM_FAN) || ENABLED(FAST_PWM_COOLER)
void setPwmFrequency(uint8_t pin, int val) {
void setPwmFrequency(uint8_t pin, uint8_t val) {
val &= 0x07;
switch(digitalPinToTimer(pin)) {
......
......@@ -121,7 +121,7 @@ inline void refresh_cmd_timeout() { previous_cmd_ms = millis(); }
extern void delay_ms(millis_t ms);
#if ENABLED(FAST_PWM_FAN) || ENABLED(FAST_PWM_COOLER)
void setPwmFrequency(uint8_t pin, int val);
void setPwmFrequency(uint8_t pin, uint8_t val);
#endif
extern float homing_feedrate[];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment