mirror of
https://github.com/felis/USB_Host_Shield_2.0.git
synced 2024-03-22 11:31:26 +01:00
Fix formatting
This commit is contained in:
parent
8f86fd4e04
commit
2f4907ab31
1 changed files with 4 additions and 5 deletions
|
@ -163,12 +163,11 @@ protected:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(old_keys != kbdLockingKeys.bLeds && hid){
|
if(old_keys != kbdLockingKeys.bLeds && hid) {
|
||||||
uint8_t lockLeds = kbdLockingKeys.bLeds;
|
uint8_t lockLeds = kbdLockingKeys.bLeds;
|
||||||
|
return (hid->SetReport(0, 0/*hid->GetIface()*/, 2, 0, 1, &lockLeds));
|
||||||
return (hid->SetReport(0, 0/*hid->GetIface()*/, 2, 0, 1, &lockLeds));
|
}
|
||||||
}
|
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue