diff options
author | David Crocker <dcrocker@eschertech.com> | 2019-07-02 00:50:12 +0300 |
---|---|---|
committer | David Crocker <dcrocker@eschertech.com> | 2019-07-02 00:50:12 +0300 |
commit | c6e580f7b3fa94e9707a225af50922c8daa8a6cf (patch) | |
tree | be06ac0a62fbc3c45aeb8137e86c6b7baee4fc69 /src/Fans/Fan.h | |
parent | e14f84e930073bd33d6ecc2ebdad9c3147ed6e18 (diff) |
Consolidation after merge
Reverted some changes to Linux/MessageFormats.h and Linux/BinaryParser.cpp for compatibility with the existing SDF release
Added HAS_MASS_STORAGE definition
Removed lots of mass storage code when HAS_MASS_STORAGE is false
Removed non-RTOS code
Moved SPI channel usage definitions into CoreNG
Added some new CAN message formats (not used by this project yet)
Diffstat (limited to 'src/Fans/Fan.h')
-rw-r--r-- | src/Fans/Fan.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Fans/Fan.h b/src/Fans/Fan.h index b3dc014f..928dfd6d 100644 --- a/src/Fans/Fan.h +++ b/src/Fans/Fan.h @@ -42,7 +42,10 @@ public: bool Check(); // update the fan PWM returning true if it is a thermostatic fan that is on void Disable(); + +#if HAS_MASS_STORAGE bool WriteSettings(FileStore *f, size_t fanNum) const; // save the settings of this fan if it isn't thermostatic +#endif // Tacho interface int32_t GetRPM() const; |