Skip to content

Commit

Permalink
Changed sensor_max_vals from unsigned to signed integer.
Browse files Browse the repository at this point in the history
  • Loading branch information
Kerryliu committed Jul 10, 2017
1 parent 0715591 commit 5b997b7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/device.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const vector<string> Device::sensor_types_paths({"/in", "/fan", "/pwm",
"/temp"});
const vector<string> Device::sensor_types_icons(
{"assets/in.svg", "assets/fan.svg", "assets/pwm.svg", "assets/temp.svg"});
const vector<unsigned int> Device::sensor_max_vals({5000, 2500, 5, 100000});
const vector<int> Device::sensor_max_vals({5000, 2500, 5, 100000});
const vector<string> Device::sensor_units({" V", " RPM", " V", " \u2103"});

Device::Device(string file_path)
Expand Down
2 changes: 1 addition & 1 deletion src/device.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class Device {
static const vector<string> sensor_types;
static const vector<string> sensor_types_paths;
static const vector<string> sensor_types_icons;
static const vector<unsigned int> sensor_max_vals;
static const vector<int> sensor_max_vals;
static const vector<string> sensor_units;

const vector<unsigned int> sensor_type_counts =
Expand Down

0 comments on commit 5b997b7

Please sign in to comment.