mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2024-11-27 13:56:24 +00:00
Fix setPwmFrequency declaration (#9687)
This commit is contained in:
parent
50d38e7d03
commit
d413781b98
@ -1269,7 +1269,7 @@ void Temperature::init() {
|
||||
|
||||
#if ENABLED(FAST_PWM_FAN)
|
||||
|
||||
void setPwmFrequency(const pin_t pin, int val) {
|
||||
void Temperature::setPwmFrequency(const pin_t pin, int val) {
|
||||
val &= 0x07;
|
||||
switch (digitalPinToTimer(pin)) {
|
||||
#ifdef TCCR0A
|
||||
|
@ -588,7 +588,7 @@ class Temperature {
|
||||
private:
|
||||
|
||||
#if ENABLED(FAST_PWM_FAN)
|
||||
void setPwmFrequency(const pin_t pin, int val);
|
||||
static void setPwmFrequency(const pin_t pin, int val);
|
||||
#endif
|
||||
|
||||
static void set_current_temp_raw();
|
||||
|
Loading…
Reference in New Issue
Block a user