summaryrefslogtreecommitdiffstats
path: root/sensorhandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'sensorhandler.cpp')
-rw-r--r--sensorhandler.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/sensorhandler.cpp b/sensorhandler.cpp
index 7c6a4dc..80f7c4b 100644
--- a/sensorhandler.cpp
+++ b/sensorhandler.cpp
@@ -1,10 +1,11 @@
-#include "sensorhandler.h"
+#include "sensorhandler.hpp"
#include "fruread.hpp"
#include "ipmid.hpp"
#include "types.hpp"
#include "utils.hpp"
+#include <host-ipmid/ipmid-api.h>
#include <mapper.h>
#include <math.h>
#include <stdio.h>
@@ -18,8 +19,6 @@
#include <xyz/openbmc_project/Common/error.hpp>
#include <xyz/openbmc_project/Sensor/Value/server.hpp>
-#include "host-ipmid/ipmid-api.h"
-
static constexpr uint8_t fruInventoryDevice = 0x10;
static constexpr uint8_t IPMIFruInventory = 0x02;
static constexpr uint8_t BMCSlaveAddress = 0x20;
OpenPOWER on IntegriCloud