Merge pull request #2 from ConHuevosGuey/master

Fixed bug in LCD display
This commit is contained in:
ArcadeHacker committed 2016-01-01 10:34:01 +01:00
commit 97824fbc34
1 file changed
+5 -1
+5 -1
View File
@@ -222,7 +222,11 @@ void loop() /*----( LOOP: RUNS CONSTANTLY )----*/
} }
case btnUP: case btnUP:
{ {
if (c != 0) {c--;} if (c !=0)
{
if (c > 0) {c--;} else {c++;}
}
lcd.print(GameList[c]); lcd.print(GameList[c]);
break; break;
} }