From 5b997b73fcb42b058c23f93d393bcf83797de42a Mon Sep 17 00:00:00 2001 From: Kerry Liu Date: Mon, 10 Jul 2017 14:12:55 -0400 Subject: [PATCH] Changed sensor_max_vals from unsigned to signed integer. --- src/device.cpp | 2 +- src/device.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/device.cpp b/src/device.cpp index 9c63919..dce00f8 100644 --- a/src/device.cpp +++ b/src/device.cpp @@ -14,7 +14,7 @@ const vector Device::sensor_types_paths({"/in", "/fan", "/pwm", "/temp"}); const vector Device::sensor_types_icons( {"assets/in.svg", "assets/fan.svg", "assets/pwm.svg", "assets/temp.svg"}); -const vector Device::sensor_max_vals({5000, 2500, 5, 100000}); +const vector Device::sensor_max_vals({5000, 2500, 5, 100000}); const vector Device::sensor_units({" V", " RPM", " V", " \u2103"}); Device::Device(string file_path) diff --git a/src/device.h b/src/device.h index 661e4e3..5f91cc8 100644 --- a/src/device.h +++ b/src/device.h @@ -32,7 +32,7 @@ class Device { static const vector sensor_types; static const vector sensor_types_paths; static const vector sensor_types_icons; - static const vector sensor_max_vals; + static const vector sensor_max_vals; static const vector sensor_units; const vector sensor_type_counts =