diff options
-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 ); } |