Leonardo EEPROM + linguist-vendored fix

This commit is contained in:
CrazyRedMachine
2020-07-04 14:07:47 +02:00
parent cd398a3468
commit 73e8160f2d
4 changed files with 16 additions and 3 deletions
+1 -1
View File
@@ -323,7 +323,7 @@ static const byte PROGMEM _hidReportPOPN[] = {
if (*bitfield>>28&1){
uint8_t mode = (*bitfield>>24) & 0x0F;
setLightMode(mode);
*bitfield &= ~(0xFF<<24);
*bitfield &= ~((uint32_t)0xFF<<24);
}
}