diff options
Diffstat (limited to 'extra/usb_power/powerlog.py')
-rwxr-xr-x | extra/usb_power/powerlog.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/extra/usb_power/powerlog.py b/extra/usb_power/powerlog.py index a431b05b5f..0bceb23f06 100755 --- a/extra/usb_power/powerlog.py +++ b/extra/usb_power/powerlog.py @@ -754,7 +754,7 @@ class powerlog(object): value = aggregate_record[name] * multiplier csv += ", %.2f" % value name_type = name[0] + Spower.INA_SUFFIX[name[1]] - self._data.AddValue(name_type, value) + self._data.AddSample(name_type, value) else: csv += ", " csv += ", %d" % aggregate_record["status"] |