summaryrefslogtreecommitdiff
path: root/lib/lennart/SigrokInterface.py
diff options
context:
space:
mode:
authorDaniel Friesel <daniel.friesel@uos.de>2021-03-23 16:03:41 +0100
committerDaniel Friesel <daniel.friesel@uos.de>2021-03-23 16:03:41 +0100
commite45446095a324d0221f2274e35394109022c137e (patch)
tree22a7abd799cf5de8eb314dd5ed8382e3f8bb4067 /lib/lennart/SigrokInterface.py
parent63a8b93b0fedac53b5ed4acf07aa77d7e07bd7e5 (diff)
remove unused legacy code
Diffstat (limited to 'lib/lennart/SigrokInterface.py')
-rw-r--r--lib/lennart/SigrokInterface.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/lennart/SigrokInterface.py b/lib/lennart/SigrokInterface.py
index 32e8fe2..a8b392f 100644
--- a/lib/lennart/SigrokInterface.py
+++ b/lib/lennart/SigrokInterface.py
@@ -1,7 +1,8 @@
+#!/usr/bin/env python3
+
import json
import numpy as np
-from dfatool.lennart.DataInterface import DataInterface
import logging
logger = logging.getLogger(__name__)
@@ -64,7 +65,7 @@ class SigrokResult:
pass
-class SigrokInterface(DataInterface):
+class SigrokInterface:
def __init__(self, sample_rate, driver="fx2lafw", filename="temp/sigrok.log"):
"""