Skip to content
Snippets Groups Projects
Commit 27f25aac authored by Stefano Di Frischia's avatar Stefano Di Frischia Committed by Corné Lukken
Browse files

L2SS-863: fix bug

parent 960587c4
No related branches found
No related tags found
1 merge request!392L2SS-863: refactor SST collector
...@@ -273,7 +273,7 @@ class sst_hdf5_writer(hdf5_writer): ...@@ -273,7 +273,7 @@ class sst_hdf5_writer(hdf5_writer):
class bst_hdf5_writer(hdf5_writer): class bst_hdf5_writer(hdf5_writer):
def __init__(self, new_file_time_interval, file_location, decimation_factor): def __init__(self, new_file_time_interval, file_location, decimation_factor):
super().__init__(new_file_time_interval, file_location, hdf5_writer.BST_MODE, decimation_factor) super().__init__(new_file_time_interval, file_location, hdf5_writer.BST_MODE, decimation_factor, device=None)
def decoder(self, packet): def decoder(self, packet):
return BSTPacket(packet) return BSTPacket(packet)
...@@ -288,7 +288,7 @@ class bst_hdf5_writer(hdf5_writer): ...@@ -288,7 +288,7 @@ class bst_hdf5_writer(hdf5_writer):
class xst_hdf5_writer(hdf5_writer): class xst_hdf5_writer(hdf5_writer):
def __init__(self, new_file_time_interval, file_location, decimation_factor, subband_index): def __init__(self, new_file_time_interval, file_location, decimation_factor, subband_index):
super().__init__(new_file_time_interval, file_location, hdf5_writer.XST_MODE, decimation_factor) super().__init__(new_file_time_interval, file_location, hdf5_writer.XST_MODE, decimation_factor, device=None)
self.subband_index = subband_index self.subband_index = subband_index
def decoder(self, packet): def decoder(self, packet):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment