vial: properly use memcpy_P for retrieving keyboard definition
This commit is contained in:
parent
0cb8088cc4
commit
71280fe884
@ -63,7 +63,7 @@ void vial_handle_cmd(uint8_t *msg, uint8_t length) {
|
||||
return;
|
||||
if (end > sizeof(keyboard_definition))
|
||||
end = sizeof(keyboard_definition);
|
||||
memcpy(msg, &keyboard_definition[start], end - start);
|
||||
memcpy_P(msg, &keyboard_definition[start], end - start);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user