virtual_keyboard: Accept keycode 0

This commit is contained in:
Dorota Czaplejewicz 2019-11-27 15:09:16 +00:00 committed by Simon Ser
parent 5df606d8ab
commit fadd4706ed
2 changed files with 0 additions and 4 deletions

View file

@ -24,7 +24,6 @@ bool set_add(uint32_t values[], size_t *len, size_t cap, uint32_t target) {
if (*len == cap) {
return false;
}
assert(target > 0);
for (uint32_t i = 0; i < *len; ++i) {
if (values[i] == target) {
return false;