diff options
author | David Crocker <dcrocker@eschertech.com> | 2019-06-05 13:06:12 +0300 |
---|---|---|
committer | David Crocker <dcrocker@eschertech.com> | 2019-06-05 13:06:12 +0300 |
commit | 0b29dca62df59f14ee6b730f06527af06568ef12 (patch) | |
tree | 0b7153d0ccef0e4e98f3d3c05b4188bd57614ce3 /src/Fans/Fan.h | |
parent | af851d26a6ba32ed727d82e75d850540247ab221 (diff) |
Changed fan initialisation for Duet 3
The Fan constructor now initialises all member variables, so that they get initialised even in the Duet 3 build
Diffstat (limited to 'src/Fans/Fan.h')
-rw-r--r-- | src/Fans/Fan.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/Fans/Fan.h b/src/Fans/Fan.h index a000a6f9..b3dc014f 100644 --- a/src/Fans/Fan.h +++ b/src/Fans/Fan.h @@ -33,7 +33,6 @@ public: bool AssignPorts(GCodeBuffer& gb, const StringRef& reply); bool AssignPorts(const char *pinNames, const StringRef& reply); - void Init(); void SetPwm(float speed); void SetPwmFrequency(PwmFrequency freq) { port.SetFrequency(freq); } bool HasMonitoredHeaters() const { return heatersMonitored != 0; } |