Fixed missing padding in kbd_msg_t bitfield struct

This commit is contained in:
Silvano Seva 2020-12-15 11:25:04 +01:00 committed by Federico Amedeo Izzo
parent 749f5a1444
commit 81a2e1fc22
1 changed files with 4 additions and 3 deletions

View File

@ -80,7 +80,8 @@ typedef union
{ {
struct struct
{ {
uint32_t long_press : 1, uint32_t _padding : 2,
long_press : 1,
keys : 29; keys : 29;
}; };