Skip to content
Snippets Groups Projects
Commit 9ba82a86 authored by Christian's avatar Christian
Browse files

Set default max info age to 1ms

parent 8e8719bf
No related branches found
No related tags found
No related merge requests found
......@@ -115,7 +115,7 @@ class AmptekPX5(Device):
def init_device(self):
Device.init_device(self)
self._max_info_age = 100
self._max_info_age = 1
self.interface = AmptekHardwareInterface.AmptekHardwareInterface()
if self.connection_mode == "UDP":
self.interface.connectUDP( self.Hostname, self.port, self.timeout_seconds)
......@@ -562,7 +562,6 @@ class AmptekPX5(Device):
def get_firmwaremajor(self):
return self.get_status_attribute(-1, "FirmwareMajor")
return self.interface.FirmwareMajor()
def get_firmwareminor(self):
return self.get_status_attribute(-1, "FirmwareMinor")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment