Merge pull request #1815 from DarkLordZach/npad-pos-fix

npad: Fix copy/paste error with LED position assignments
This commit is contained in:
bunnei 2018-11-27 17:26:58 -05:00 committed by GitHub
commit 71dfe4a7ae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -80,9 +80,9 @@ public:
struct LedPattern { struct LedPattern {
explicit LedPattern(u64 light1, u64 light2, u64 light3, u64 light4) { explicit LedPattern(u64 light1, u64 light2, u64 light3, u64 light4) {
position1.Assign(light1); position1.Assign(light1);
position1.Assign(light2); position2.Assign(light2);
position1.Assign(light3); position3.Assign(light3);
position1.Assign(light4); position4.Assign(light4);
} }
union { union {
u64 raw{}; u64 raw{};