diff options
author | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2017-06-14 21:14:32 -0400 |
---|---|---|
committer | Patrick Williams <patrick@stwcx.xyz> | 2017-08-02 20:18:19 +0000 |
commit | bfb8160710d95d208f7cb1565a97c2a909459d0c (patch) | |
tree | 12de3b1a97421b70abd4761ac23015fd5caf6646 /presence/Makefile.am | |
parent | 5c5894878b09fdef8fcbee000f83283b73b8da64 (diff) | |
download | phosphor-fan-presence-bfb8160710d95d208f7cb1565a97c2a909459d0c.tar.gz phosphor-fan-presence-bfb8160710d95d208f7cb1565a97c2a909459d0c.zip |
presence: Add fallback redundancy policy
Add a fallback redundancy implementation of the RedundancyPolicy
interface.
The fallback policy associates multiple PresenceSensor instances
to a single fan, and "falls-back" on secondary sensor implementations
when the primary sensor cannot see the fan.
Change-Id: I6468d77d97b8916b3ff33bcd0cd28a102d1aaba1
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Diffstat (limited to 'presence/Makefile.am')
-rw-r--r-- | presence/Makefile.am | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/presence/Makefile.am b/presence/Makefile.am index 2a5976c..33f13a3 100644 --- a/presence/Makefile.am +++ b/presence/Makefile.am @@ -5,6 +5,7 @@ sbin_PROGRAMS = \ phosphor-fan-presence-tach phosphor_fan_presence_tach_SOURCES = \ + fallback.cpp \ fan.cpp \ gpio.cpp \ tach.cpp \ |