From 021fd789d0eee846d3abb99bbb55d9a214d0c1e5 Mon Sep 17 00:00:00 2001
From: su530201 <olivier.kaufmann@umons.ac.be>
Date: Sat, 15 Apr 2023 20:06:19 +0200
Subject: [PATCH] Attemps to use the sampling_rate in _vab_pulse

---
 hardware/abstract_hardware.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/hardware/abstract_hardware.py b/hardware/abstract_hardware.py
index 23d20c49..1c45b6ca 100644
--- a/hardware/abstract_hardware.py
+++ b/hardware/abstract_hardware.py
@@ -4,11 +4,12 @@ import time
 
 class ControllerAbstract(ABC):
     def __init__(self, **kwargs):
+        self.board_name = kwargs.pop('board_name', 'unknown Controller hardware')
         self.bus = None
 
 class MuxAbstract(ABC):
     def __init__(self, **kwargs):
-        pass
+        self.board_name = kwargs.pop('board_name', 'unknown MUX hardware')
 
 class TxAbstract(ABC):
     def __init__(self, **kwargs):
-- 
GitLab