mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-04-15 07:10:56 +01:00
instrument/energy_measurement: Fix typo and formatting
This commit is contained in:
parent
0efd20cf59
commit
d7c95fa844
@ -195,7 +195,7 @@ class EnergyProbeBackend(EnergyInstrumentBackend):
|
|||||||
description="""
|
description="""
|
||||||
Path to /dev entry for the energy probe (it should be /dev/ttyACMx)
|
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="""
|
description="""
|
||||||
If set to ``True``, this will prevent the raw files obtained
|
If set to ``True``, this will prevent the raw files obtained
|
||||||
from the device before processing from being deleted
|
from the device before processing from being deleted
|
||||||
@ -331,7 +331,7 @@ class AcmeCapeBackend(EnergyInstrumentBackend):
|
|||||||
for iio_device in iio_devices:
|
for iio_device in iio_devices:
|
||||||
ret[iio_device] = AcmeCapeInstrument(
|
ret[iio_device] = AcmeCapeInstrument(
|
||||||
target, iio_capture=iio_capture, host=host,
|
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
|
return ret
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user