Fixed MediaKeys releasing on ReleaseAll

This commit is contained in:
muddyfeet
2024-03-24 20:18:20 +11:00
committed by GitHub
parent f8dd485211
commit 0b14086781

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) {}
}
}
}