* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ * You should have received a copy of the GNU General Public License along
+ * with this program; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include <freeldr.h>
XboxSetLED(PCSTR pattern) {
const char *x = pattern;
int r, g;
-
+
if(strlen(pattern) == 4) {
r = g = 0;
while (*x) {
g *= 2;
switch (*x) {
case 'r':
- r++;
+ r++;
break;
case 'g':
g++;