Merge pull request #290 from muddyfeet/master

Fixed MediaKeys releasing on ReleaseAll
This commit is contained in:
T-vK
2024-03-24 15:11:57 +01:00
committed by GitHub

View File

@@ -468,6 +468,7 @@ void BleKeyboard::releaseAll(void)
_mediaKeyReport[0] = 0;
_mediaKeyReport[1] = 0;
sendReport(&_keyReport);
sendReport(&_mediaKeyReport);
}
size_t BleKeyboard::write(uint8_t c)
@@ -543,4 +544,4 @@ void BleKeyboard::delay_ms(uint64_t ms) {
}
while(esp_timer_get_time() < e) {}
}
}
}