From bef90149d9fa6324558f35425b81352d90e02021 Mon Sep 17 00:00:00 2001 From: Benjamin Reese Date: Tue, 24 Oct 2023 21:45:58 -0700 Subject: [PATCH] Add paramatized pollInterval --- python/surf/xilinx/_Xadc.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/python/surf/xilinx/_Xadc.py b/python/surf/xilinx/_Xadc.py index 38b675a7d3..a53c99cefd 100644 --- a/python/surf/xilinx/_Xadc.py +++ b/python/surf/xilinx/_Xadc.py @@ -61,7 +61,7 @@ def addPair(name, offset, bitSize, units, bitOffset, description, function, poll bitOffset = 4, units = "degC", function = self.convTemp, - pollInterval = 5, + pollInterval = pollInterval, description = """ The result of the on-chip temperature sensor measurement is stored in this location. The data is MSB justified in the @@ -121,7 +121,7 @@ def addPair(name, offset, bitSize, units, bitOffset, description, function, poll bitOffset = 4, units = "V", function = self.convCoreVoltage, - pollInterval = 5, + pollInterval = pollInterval, description = """ The result of the on-chip VccInt supply monitor measurement is stored at this location. The data is MSB justified in the @@ -169,7 +169,7 @@ def addPair(name, offset, bitSize, units, bitOffset, description, function, poll bitOffset = 4, units = "V", function = self.convCoreVoltage, - pollInterval = 5, + pollInterval = pollInterval, description = """ The result of the on-chip VccAux supply monitor measurement is stored at this location. The data is MSB justified in the @@ -219,7 +219,7 @@ def addPair(name, offset, bitSize, units, bitOffset, description, function, poll bitOffset = 4, units = "V", function = self.convCoreVoltage, - pollInterval = 5, + pollInterval = pollInterval, description = """ The result of the on-chip VccBram supply monitor measurement is stored at this location. The data is MSB justified in the