1
0
Fork 0

Merge pull request #2863 from wwylele/pad-state-zero

HID: zero unused PadState bits
This commit is contained in:
Weiyi Wang 2017-08-10 17:50:18 +03:00 committed by GitHub
commit aaf5161344
2 changed files with 2 additions and 2 deletions

View File

@ -24,7 +24,7 @@ namespace HID {
*/
struct PadState {
union {
u32 hex;
u32 hex{};
BitField<0, 1, u32> a;
BitField<1, 1, u32> b;

View File

@ -18,7 +18,7 @@ namespace Service {
namespace IR {
union PadState {
u32_le hex;
u32_le hex{};
BitField<14, 1, u32_le> zl;
BitField<15, 1, u32_le> zr;