mirror of https://github.com/mikaku/Monitorix.git
A bit cleanup
This commit is contained in:
parent
d7815ca313
commit
7d1001a9ed
|
@ -313,8 +313,7 @@ sub amdgpu_cgi {
|
||||||
"#EEEE44",
|
"#EEEE44",
|
||||||
);
|
);
|
||||||
|
|
||||||
my $show_extended_plots = lc($amdgpu->{show_extended_plots} || "") eq "y" ? 1 : 0;
|
my $number_of_sensor_values_in_use = 11;
|
||||||
my $number_of_sensor_values_in_use = $show_extended_plots ? 11 : 3;
|
|
||||||
if($number_of_sensor_values_in_use > $number_of_values_per_gpu_in_rrd) {
|
if($number_of_sensor_values_in_use > $number_of_values_per_gpu_in_rrd) {
|
||||||