diff options
author | Daniel Friesel <derf@finalrewind.org> | 2017-04-06 09:01:38 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2017-04-06 09:01:38 +0200 |
commit | 1db2484270d937a4f2d80c24f88c18f7aaecc545 (patch) | |
tree | 5b963acdb8cff6f46eecd86b1de74b63f2531e2b /bin | |
parent | 6b9684f4e7efa3dfe29ead936475bd4448245323 (diff) |
dfatool: fix 'show' for next/prev relative energy values
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/dfatool | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/dfatool b/bin/dfatool index 881d04b..cdaae5a 100755 --- a/bin/dfatool +++ b/bin/dfatool @@ -280,7 +280,7 @@ my %action = ( push( @widths, max (length($pstr), 9) ); printf(' → %9s', $pstr); my @energies - = map { $_->{uW_mean_delta} * ( $_->{us} - 20 ) } + = map { $_->{uW_mean_delta_prev} * ( $_->{us} - 20 ) } @{ $elem->{offline} }; push( @data, sum(@energies) / @energies ); } |