diff options
author | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2017-06-14 22:32:20 -0400 |
---|---|---|
committer | Patrick Williams <patrick@stwcx.xyz> | 2017-08-02 20:18:19 +0000 |
commit | 5c5894878b09fdef8fcbee000f83283b73b8da64 (patch) | |
tree | a4d3746ab06c6334f19c795fa7171f789389c62e /presence/Makefile.am | |
parent | dd62e36eabe275348bc7e74201f960197b01bd0c (diff) | |
download | phosphor-fan-presence-5c5894878b09fdef8fcbee000f83283b73b8da64.tar.gz phosphor-fan-presence-5c5894878b09fdef8fcbee000f83283b73b8da64.zip |
presence: Add gpio presence sensor
Add a gpio presence implementation of the PresenceSensor
interface.
The gpio sensor simply maps the on off state of a gpio
directly to the xyz.openbmc_project.Inventory.Item
Present property.
Change-Id: I071dd475bebb15372edb59506352746c20542eff
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 2ea4929..2a5976c 100644 --- a/presence/Makefile.am +++ b/presence/Makefile.am @@ -6,6 +6,7 @@ sbin_PROGRAMS = \ phosphor_fan_presence_tach_SOURCES = \ fan.cpp \ + gpio.cpp \ tach.cpp \ fan_enclosure.cpp \ tach_sensor.cpp \ |