bitstruct pacdrive fix
This commit is contained in:
@@ -55,7 +55,7 @@ typedef union
|
|||||||
bool led14 : 1;
|
bool led14 : 1;
|
||||||
bool led15 : 1;
|
bool led15 : 1;
|
||||||
bool led16 : 1;
|
bool led16 : 1;
|
||||||
};
|
} __attribute__((packed));
|
||||||
uint16_t raw;
|
uint16_t raw;
|
||||||
} pacdrive_leds_t;
|
} pacdrive_leds_t;
|
||||||
|
|
||||||
@@ -67,7 +67,7 @@ typedef union
|
|||||||
uint8_t pad0;
|
uint8_t pad0;
|
||||||
uint8_t pad1;
|
uint8_t pad1;
|
||||||
pacdrive_leds_t leds;
|
pacdrive_leds_t leds;
|
||||||
};
|
} __attribute__((packed));
|
||||||
uint8_t raw_state[PACDRIVE_HIDREPORT_SIZE];
|
uint8_t raw_state[PACDRIVE_HIDREPORT_SIZE];
|
||||||
} pacdrive_state_t;
|
} pacdrive_state_t;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user