[Core] Don't send keyboard reports that propagate no changes to the host (#14065)
This commit is contained in:
@ -48,7 +48,6 @@ void TestFixture::SetUpTestCase() {
|
||||
eeconfig_update_debug(debug_config.raw);
|
||||
|
||||
TestDriver driver;
|
||||
EXPECT_CALL(driver, send_keyboard_mock(_));
|
||||
keyboard_init();
|
||||
|
||||
test_logger.info() << "TestFixture setup-up end." << std::endl;
|
||||
@ -62,8 +61,6 @@ TestFixture::~TestFixture() {
|
||||
test_logger.info() << "TestFixture clean-up start." << std::endl;
|
||||
TestDriver driver;
|
||||
|
||||
EXPECT_CALL(driver, send_keyboard_mock(KeyboardReport())).Times(2);
|
||||
|
||||
/* Reset keyboard state. */
|
||||
clear_all_keys();
|
||||
|
||||
|
Reference in New Issue
Block a user