From d67cbcf5c1da394ef0a954e73b4bbccf993e08d6 Mon Sep 17 00:00:00 2001 From: din Date: Tue, 1 Jun 2021 12:09:46 -0500 Subject: [PATCH] Fix lighting typo. --- src/arch/Lights/LightsDriver_Linux_ITGIO.cpp | 2 +- src/arch/Lights/LightsDriver_Linux_PIUIO_Leds.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/arch/Lights/LightsDriver_Linux_ITGIO.cpp b/src/arch/Lights/LightsDriver_Linux_ITGIO.cpp index f00786bb8e..77ff5c55bf 100644 --- a/src/arch/Lights/LightsDriver_Linux_ITGIO.cpp +++ b/src/arch/Lights/LightsDriver_Linux_ITGIO.cpp @@ -105,7 +105,7 @@ void LightsDriver_Linux_ITGIO::Set(const LightsState *ls) SetCabinetLights(cabinet_lights, ls); SetGameControllerLights(GameController_1, player1_lights, ls); - SetGameControllerLights(GameController_2, player1_lights, ls); + SetGameControllerLights(GameController_2, player2_lights, ls); previousLS = *ls; } diff --git a/src/arch/Lights/LightsDriver_Linux_PIUIO_Leds.cpp b/src/arch/Lights/LightsDriver_Linux_PIUIO_Leds.cpp index 0bf3d7e7e2..3c1fad0cef 100644 --- a/src/arch/Lights/LightsDriver_Linux_PIUIO_Leds.cpp +++ b/src/arch/Lights/LightsDriver_Linux_PIUIO_Leds.cpp @@ -177,12 +177,12 @@ void LightsDriver_Linux_PIUIO_Leds::Set(const LightsState *ls) if (IsDance()) { SetGameControllerLights(GameController_1, player1_dance_lights, ls); - SetGameControllerLights(GameController_2, player1_dance_lights, ls); + SetGameControllerLights(GameController_2, player2_dance_lights, ls); } else if (IsPump()) { SetGameControllerLights(GameController_1, player1_pump_lights, ls); - SetGameControllerLights(GameController_2, player1_pump_lights, ls); + SetGameControllerLights(GameController_2, player2_pump_lights, ls); } previousLS = *ls;