1
0
mirror of https://github.com/MarlinFirmware/Marlin.git synced 2024-11-23 20:18:52 +00:00

Fix setPwmFrequency declaration (#9687)

This commit is contained in:
Bob-the-Kuhn 2018-02-17 23:19:49 -06:00 committed by Scott Lahteine
parent 50d38e7d03
commit d413781b98
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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();