aboutsummaryrefslogtreecommitdiff
path: root/tests/test_common/test_driver.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_common/test_driver.cpp')
-rw-r--r--tests/test_common/test_driver.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/test_common/test_driver.cpp b/tests/test_common/test_driver.cpp
index 9e618aa97..feb80563a 100644
--- a/tests/test_common/test_driver.cpp
+++ b/tests/test_common/test_driver.cpp
@@ -27,7 +27,6 @@ TestDriver::TestDriver()
27 &TestDriver::send_consumer 27 &TestDriver::send_consumer
28 } 28 }
29{ 29{
30
31 host_set_driver(&m_driver); 30 host_set_driver(&m_driver);
32 m_this = this; 31 m_this = this;
33} 32}
@@ -37,7 +36,7 @@ TestDriver::~TestDriver() {
37} 36}
38 37
39uint8_t TestDriver::keyboard_leds(void) { 38uint8_t TestDriver::keyboard_leds(void) {
40 return m_this->keyboard_leds_mock(); 39 return m_this->m_leds;
41} 40}
42 41
43void TestDriver::send_keyboard(report_keyboard_t* report) { 42void TestDriver::send_keyboard(report_keyboard_t* report) {