summaryrefslogtreecommitdiff
path: root/py/iact.py
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ti.com>2016-06-06 19:56:26 +0300
committerTomi Valkeinen <tomi.valkeinen@ti.com>2016-06-07 17:04:28 +0300
commitded84bf2620313b701af9c88b0f6c6ada2c70eaa (patch)
treefc836815746d044f46fc99dac0782e8472ac2eb3 /py/iact.py
parenta688d32d209a45627da3e80128a933d70f5d48b6 (diff)
py: fix scripts when there's no current crtc
Diffstat (limited to 'py/iact.py')
-rwxr-xr-xpy/iact.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/py/iact.py b/py/iact.py
index 82511c3..cfb1745 100755
--- a/py/iact.py
+++ b/py/iact.py
@@ -17,7 +17,7 @@ mode = conn.get_default_mode()
fb = pykms.DumbFramebuffer(card, 200, 200, "XR24");
pykms.draw_test_pattern(fb);
-crtc = conn.get_current_crtc()
+crtc = get_crtc_for_connector(conn)
#crtc.set_mode(conn, fb, mode)