1
0
mirror of https://github.com/ARM-software/workload-automation.git synced 2025-01-18 12:06:08 +00:00

instrument/energy_measurement: Fix typo and formatting

This commit is contained in:
Marc Bonnici 2019-10-03 12:43:52 +01:00 committed by setrofim
parent 0efd20cf59
commit d7c95fa844

View File

@ -195,7 +195,7 @@ class EnergyProbeBackend(EnergyInstrumentBackend):
description="""
Path to /dev entry for the energy probe (it should be /dev/ttyACMx)
"""),
Parameter('keep_raw', kind=bool, default=False,
Parameter('keep_raw', kind=bool, default=False,
description="""
If set to ``True``, this will prevent the raw files obtained
from the device before processing from being deleted
@ -331,7 +331,7 @@ class AcmeCapeBackend(EnergyInstrumentBackend):
for iio_device in iio_devices:
ret[iio_device] = AcmeCapeInstrument(
target, iio_capture=iio_capture, host=host,
iio_device=iio_device, buffer_size=buffer_size, keep_raw=keep_raw)
iio_device=iio_device, buffer_size=buffer_size, keep_raw=self.keep_raw)
return ret