Matthew Barth | 293477d | 2017-02-17 15:39:36 -0600 | [diff] [blame] | 1 | #include "tach_sensor.hpp" |
2 | |||||
3 | |||||
4 | namespace phosphor | ||||
5 | { | ||||
6 | namespace fan | ||||
7 | { | ||||
8 | namespace presence | ||||
9 | { | ||||
10 | |||||
11 | bool TachSensor::isPresent() | ||||
12 | { | ||||
Matthew Barth | d640382 | 2017-02-17 17:10:19 -0600 | [diff] [blame^] | 13 | return (tach != 0); |
Matthew Barth | 293477d | 2017-02-17 15:39:36 -0600 | [diff] [blame] | 14 | } |
15 | |||||
16 | } // namespace presence | ||||
17 | } // namespace fan | ||||
18 | } // namespace phosphor |