From 8c3424cf282b33cd67a2182e18acda146edf19c7 Mon Sep 17 00:00:00 2001 From: Kristian Sloth Lauszus Date: Sun, 14 Jul 2013 16:44:53 +0200 Subject: [PATCH] Forgot else if --- XBOXRECV.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/XBOXRECV.cpp b/XBOXRECV.cpp index 1d4d7724..98dd95fd 100644 --- a/XBOXRECV.cpp +++ b/XBOXRECV.cpp @@ -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;