diff options
author | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2015-12-07 21:01:43 +0200 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2016-01-12 14:52:37 +0200 |
commit | f046348793516165ea8cf923faa27f1e0455c3c5 (patch) | |
tree | 2c5e0dab30b011eac8f0af830320f1b05e51b49e /tests | |
parent | 7eb69193974e771788e7dbce60f15693413cf2bb (diff) |
db: use the configured mode, not default
Diffstat (limited to 'tests')
-rw-r--r-- | tests/db.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/db.cpp b/tests/db.cpp index 4a7846c..2ac2138 100644 --- a/tests/db.cpp +++ b/tests/db.cpp @@ -89,9 +89,8 @@ public: void set_mode() { - auto mode = m_connector->get_default_mode(); auto fb = m_flipper.get_next(); - int r = m_crtc->set_mode(m_connector, *fb, mode); + int r = m_crtc->set_mode(m_connector, *fb, m_mode); ASSERT(r == 0); if (m_plane) { |