lt better than exact if

This commit is contained in:
2019-12-12 18:21:41 +01:00
parent 475d57d472
commit 0982a1efd4

View File

@@ -89,7 +89,7 @@ void amigaYpulse(int8_t count) {
else {
mouseYTableIndex--;
if (mouseYTableIndex == -1) {
if (mouseYTableIndex < 0) {
mouseYTableIndex = 3;
}
}
@@ -119,7 +119,7 @@ void amigaXpulse(int8_t count) {
else {
mouseXTableIndex--;
if (mouseXTableIndex == -1) {
if (mouseXTableIndex < 0) {
mouseXTableIndex = 3;
}
}