Skip to content

Commit

Permalink
Add hotfix to work with newer batch of massdrop ctrl keyboards: Massd…
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffh committed Jul 15, 2020
1 parent caa03ed commit 29ae0cd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mdloader_common.c
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,8 @@ int test_mcu(char silent)
continue;
}

if (deviceid == mcu->cidr)
/* if (deviceid == mcu->cidr) */ // https://github.com/Massdrop/mdloader/issues/24#issuecomment-653161690
if ((deviceid & 0xFFFFF0FF) == mcu->cidr)
{
if (!silent && verbose) printf("Found supported device ID: %08X\n", deviceid);
break;
Expand Down

0 comments on commit 29ae0cd

Please sign in to comment.