summaryrefslogtreecommitdiffstats
path: root/sensorset.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'sensorset.cpp')
-rw-r--r--sensorset.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/sensorset.cpp b/sensorset.cpp
index 2952775..6ccf714 100644
--- a/sensorset.cpp
+++ b/sensorset.cpp
@@ -22,7 +22,7 @@
// TODO: Issue#2 - STL regex generates really bloated code. Use POSIX regex
// interfaces instead.
static const std::regex sensors_regex =
- std::regex("^(fan|in|temp|power|energy|curr)([0-9]+)_([a-z]*)",
+ std::regex("^(fan|in|temp|power|energy|curr|freq)([0-9]+)_([a-z]*)",
std::regex::extended);
static const auto sensor_regex_match_count = 4;
OpenPOWER on IntegriCloud