summaryrefslogtreecommitdiffstats
path: root/targets.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'targets.hpp')
-rw-r--r--targets.hpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/targets.hpp b/targets.hpp
index de86170..ecef77b 100644
--- a/targets.hpp
+++ b/targets.hpp
@@ -7,6 +7,16 @@
#include "fan_speed.hpp"
#include "fan_pwm.hpp"
+enum class targetType
+{
+ DEFAULT,
+ RPM,
+ PWM
+};
+
+static constexpr auto RPM_TARGET = "RPM";
+static constexpr auto PWM_TARGET = "PWM";
+
/** @class Targets
* @brief Target type traits.
*
OpenPOWER on IntegriCloud