HID: zero unused PadState bits

This commit is contained in:
wwylele committed 2017-08-10 17:01:03 +03:00
1 parent 343bbfdabc
commit 599de29ea3
2 files changed
+2 -2

No files matched your search

+1 -1
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;
+1 -1
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;