summaryrefslogtreecommitdiff
path: root/py/tests/cam.py
diff options
context:
space:
mode:
Diffstat (limited to 'py/tests/cam.py')
-rwxr-xr-xpy/tests/cam.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/py/tests/cam.py b/py/tests/cam.py
index b44f8f9..57d0c1a 100755
--- a/py/tests/cam.py
+++ b/py/tests/cam.py
@@ -3,8 +3,6 @@
import sys
import selectors
import pykms
-from helpers import *
-
w = 640
h = 480
@@ -48,7 +46,7 @@ def readvid(conn, mask):
fb = cap.dequeue()
if card.has_atomic:
- set_props(plane, {
+ plane.set_props({
"FB_ID": fb.id,
"CRTC_ID": crtc.id,
"SRC_W": fb.width << 16,