Revert "Correction to keyboard LED operation"

This reverts commit 26afaf4dea.
This commit is contained in:
Allen Johnson-Weltzin 2015-08-31 10:21:26 -05:00
parent 26afaf4dea
commit 12e184349f

View file

@ -163,11 +163,9 @@ protected:
break; break;
} }
if(old_keys != kbdLockingKeys.bLeds && hid){ if(old_keys != kbdLockingKeys.bLeds && hid)
uint8_t lockLeds = kbdLockingKeys.bLeds; return (hid->SetReport(0, 0/*hid->GetIface()*/, 2, 0, 1, &kbdLockingKeys.bLeds));
return (hid->SetReport(0, 0/*hid->GetIface()*/, 2, 0, 1, &lockLeds));
}
return 0; return 0;
}; };