From f8a80ad6ebe27abd236e5ab3c85bccc97713b6be Mon Sep 17 00:00:00 2001
From: awatlet <arnaud.watlet@umons.ac.be>
Date: Thu, 12 Oct 2023 12:49:40 +0200
Subject: [PATCH] Enables dps in hardware_system

---
 ohmpi/hardware_components/mb_2024_0_2.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ohmpi/hardware_components/mb_2024_0_2.py b/ohmpi/hardware_components/mb_2024_0_2.py
index 970067d3..187b450e 100644
--- a/ohmpi/hardware_components/mb_2024_0_2.py
+++ b/ohmpi/hardware_components/mb_2024_0_2.py
@@ -96,7 +96,7 @@ class Tx(Tx_mb_2023):
     def inject(self, polarity=1, injection_duration=None):
         # add leds?
         self.pin6.value=True
-        Tx_mb_2023.inject(self, polarity=polarity, injection_duration=injection_duration)
+        Tx_mb_2023.inject(self, polarity=polarity, injection_duration=injection_duration,switch_pwr=True)
         self.pin6.value = False
 
     @property
-- 
GitLab