cpusensor: detect if cpu is available
Add CPU inventory item detection via gpio.
Tested: inventory item is exposed
Change-Id: Ia26a4bed5534edec6a7f5c7cf0965f84fa0fc23a
Signed-off-by: James Feist <james.feist@linux.intel.com>
diff --git a/src/TachSensor.cpp b/src/TachSensor.cpp
index 295c7e6..bbd382f 100644
--- a/src/TachSensor.cpp
+++ b/src/TachSensor.cpp
@@ -14,10 +14,12 @@
// limitations under the License.
*/
+#include "TachSensor.hpp"
+
+#include "Utils.hpp"
+
#include <unistd.h>
-#include <TachSensor.hpp>
-#include <Utils.hpp>
#include <boost/algorithm/string/predicate.hpp>
#include <boost/algorithm/string/replace.hpp>
#include <boost/date_time/posix_time/posix_time.hpp>