mirror of
https://github.com/felis/USB_Host_Shield_2.0.git
synced 2024-03-22 11:31:26 +01:00
Forgot else if
This commit is contained in:
parent
b4b570d7c8
commit
8c3424cf28
1 changed files with 1 additions and 1 deletions
|
@ -528,7 +528,7 @@ void XBOXRECV::onInit(uint8_t controller) {
|
|||
led = LED1;
|
||||
else if (controller == 1)
|
||||
led = LED2;
|
||||
if (controller == 2)
|
||||
else if (controller == 2)
|
||||
led = LED3;
|
||||
else
|
||||
led = LED4;
|
||||
|
|
Loading…
Reference in a new issue