mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2026-04-04 22:24:12 -04:00
Clean up test code in AOCMouseController and fix unused variable warning
This commit is contained in:
@@ -109,12 +109,5 @@ void AOCMouseController::SendDirect
|
||||
/*-----------------------------------------------------*\
|
||||
| Send packet |
|
||||
\*-----------------------------------------------------*/
|
||||
int ret = hid_send_feature_report(dev, buf, 60);
|
||||
const wchar_t * errval = hid_error(dev);
|
||||
|
||||
if(ret)
|
||||
{
|
||||
int a = 0;
|
||||
a++;
|
||||
}
|
||||
hid_send_feature_report(dev, buf, 60);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user